summaryrefslogtreecommitdiffstats
path: root/kexi/3rdparty
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-29 23:22:43 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-29 23:22:43 -0600
commit5cba27652d2c311bc4ef391e0db292646d617179 (patch)
tree71ae5aff1ea20f245eeeba0c7a1ebe59e45b9fdc /kexi/3rdparty
parent1cc2d9ab46ac8c133f5c7959ee1af470bb971d28 (diff)
downloadkoffice-5cba27652d2c311bc4ef391e0db292646d617179.tar.gz
koffice-5cba27652d2c311bc4ef391e0db292646d617179.zip
Rename a few build variables for overall consistency
Diffstat (limited to 'kexi/3rdparty')
-rw-r--r--kexi/3rdparty/kexisql/src/os.c2
-rw-r--r--kexi/3rdparty/kexisql3/src/os_win.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/kexi/3rdparty/kexisql/src/os.c b/kexi/3rdparty/kexisql/src/os.c
index b47fd961..7b03cab7 100644
--- a/kexi/3rdparty/kexisql/src/os.c
+++ b/kexi/3rdparty/kexisql/src/os.c
@@ -1367,7 +1367,7 @@ int sqliteOsReadLock(OsFile *id){
ovlp.Offset = FIRST_LOCKBYTE+1;
ovlp.OffsetHigh = 0;
ovlp.hEvent = 0;
- res = LockFileEx(id->h, LOCKFILE_FAIL_IMMEDIATELY,
+ res = LockFileEx(id->h, LOCTDEFILE_FAIL_IMMEDIATELY,
0, N_LOCKBYTE, 0, &ovlp);
}else{
res = LockFile(id->h, FIRST_LOCKBYTE+lk, 0, 1, 0);
diff --git a/kexi/3rdparty/kexisql3/src/os_win.c b/kexi/3rdparty/kexisql3/src/os_win.c
index ec7a0840..2c1947a5 100644
--- a/kexi/3rdparty/kexisql3/src/os_win.c
+++ b/kexi/3rdparty/kexisql3/src/os_win.c
@@ -615,7 +615,7 @@ static int getReadLock(OsFile *id){
ovlp.Offset = SHARED_FIRST;
ovlp.OffsetHigh = 0;
ovlp.hEvent = 0;
- res = LockFileEx(id->h, LOCKFILE_FAIL_IMMEDIATELY, 0, SHARED_SIZE,0,&ovlp);
+ res = LockFileEx(id->h, LOCTDEFILE_FAIL_IMMEDIATELY, 0, SHARED_SIZE,0,&ovlp);
}else{
int lk;
sqlite3Randomness(sizeof(lk), &lk);