diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2013-02-20 00:51:44 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-02-20 00:51:44 +0100 |
commit | 84de21ab25f6363efff38fbb37940152cfd9a11e (patch) | |
tree | 117f99c45b3e3d5b92ef1c556ed705a11bc39fba /tqtinterface/qt4/src | |
parent | 63dc2685cb7b1c8fe5e5b4e218f3edcc48754395 (diff) | |
download | experimental-84de21ab25f6363efff38fbb37940152cfd9a11e.tar.gz experimental-84de21ab25f6363efff38fbb37940152cfd9a11e.zip |
Fix unintended rename of LOCKFILE
Diffstat (limited to 'tqtinterface/qt4/src')
-rw-r--r-- | tqtinterface/qt4/src/3rdparty/sqlite/os.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tqtinterface/qt4/src/3rdparty/sqlite/os.c b/tqtinterface/qt4/src/3rdparty/sqlite/os.c index 4f16907..7918f81 100644 --- a/tqtinterface/qt4/src/3rdparty/sqlite/os.c +++ b/tqtinterface/qt4/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); |