diff options
author | Slávek Banko <[email protected]> | 2013-02-17 11:59:17 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2013-02-17 11:59:17 +0100 |
commit | 1a18cc0a29a71249c105e94ff62b895855d172a9 (patch) | |
tree | f8a536fd76f88846f92e4933d2eb50ccd06810d4 | |
parent | d172de142f9d27f19db83ab921af823d2f912972 (diff) | |
download | amarok-1a18cc0a29a71249c105e94ff62b895855d172a9.tar.gz amarok-1a18cc0a29a71249c105e94ff62b895855d172a9.zip |
Fix unintended rename of LOCKFILE
-rw-r--r-- | amarok/src/sqlite/sqlite3.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/amarok/src/sqlite/sqlite3.c b/amarok/src/sqlite/sqlite3.c index 317fa5f3..5748a5f6 100644 --- a/amarok/src/sqlite/sqlite3.c +++ b/amarok/src/sqlite/sqlite3.c @@ -17211,10 +17211,10 @@ static int winFileSize(OsFile *id, i64 *pSize){ } /* -** LOCTDEFILE_FAIL_IMMEDIATELY is undefined on some Windows systems. +** LOCKFILE_FAIL_IMMEDIATELY is undefined on some Windows systems. */ -#ifndef LOCTDEFILE_FAIL_IMMEDIATELY -# define LOCTDEFILE_FAIL_IMMEDIATELY 1 +#ifndef LOCKFILE_FAIL_IMMEDIATELY +# define LOCKFILE_FAIL_IMMEDIATELY 1 #endif /* @@ -17229,7 +17229,7 @@ static int getReadLock(winFile *id){ ovlp.Offset = SHARED_FIRST; ovlp.OffsetHigh = 0; ovlp.hEvent = 0; - res = LockFileEx(id->h, LOCTDEFILE_FAIL_IMMEDIATELY, 0, SHARED_SIZE,0,&ovlp); + res = LockFileEx(id->h, LOCKFILE_FAIL_IMMEDIATELY, 0, SHARED_SIZE,0,&ovlp); }else{ int lk; sqlite3Randomness(sizeof(lk), &lk); |