diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2013-02-17 12:00:59 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-02-17 12:00:59 +0100 |
commit | 63d62f785ad636cb65f14aa52ce4dd9c177a6be8 (patch) | |
tree | 58b7518f6a7d5d8d85d0f9cf9cbb752324b0e939 /src | |
parent | f49d7e22b58dd3a6b9f1d5f8c87df80c6751eb8c (diff) | |
download | tqt3-63d62f785ad636cb65f14aa52ce4dd9c177a6be8.tar.gz tqt3-63d62f785ad636cb65f14aa52ce4dd9c177a6be8.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 1d91c354a..3130bdeeb 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); |