diff options
-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); |