diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2013-02-17 12:00:56 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-02-17 12:00:56 +0100 |
commit | 5015438cc486e83eec69d7a8800b23316727eed4 (patch) | |
tree | 656eb2a23140af0e92ce367ba64d8220e8222969 /src | |
parent | c47f5e14e4231c872828374d05815d59a045cb2c (diff) | |
download | qt3-5015438cc486e83eec69d7a8800b23316727eed4.tar.gz qt3-5015438cc486e83eec69d7a8800b23316727eed4.zip |
Fix unintended rename of LOCKFILE
Diffstat (limited to 'src')
-rw-r--r-- | src/3rdparty/sqlite/os.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/sqlite/os.c b/src/3rdparty/sqlite/os.c index a85810f..b4ae7a1 100644 --- a/src/3rdparty/sqlite/os.c +++ b/src/3rdparty/sqlite/os.c @@ -1340,7 +1340,7 @@ int sqliteOsReadLock(OsFile *id){ ovlp.Offset = FIRST_LOCKBYTE+1; ovlp.OffsetHigh = 0; ovlp.hEvent = 0; - res = LockFileEx(id->h, LOCTDEFILE_FAIL_IMMEDIATELY, + res = LockFileEx(id->h, LOCKFILE_FAIL_IMMEDIATELY, 0, N_LOCKBYTE, 0, &ovlp); }else{ res = LockFile(id->h, FIRST_LOCKBYTE+lk, 0, 1, 0); |