1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-15 11:41:13 +03:00

Additional efforts to get it to build on WinCE. (CVS 2875)

FossilOrigin-Name: b45c076f0d5f7c863287ccb5703c492e1010a99d
This commit is contained in:
drh
2006-01-06 20:22:29 +00:00
parent cc78fea4b9
commit 602bbd3245
3 changed files with 14 additions and 7 deletions

View File

@@ -643,6 +643,13 @@ static int winFileSize(OsFile *id, i64 *pSize){
return SQLITE_OK;
}
/*
** LOCKFILE_FAIL_IMMEDIATELY is undefined on some Windows systems.
*/
#ifndef LOCKFILE_FAIL_IMMEDIATELY
# define LOCKFILE_FAIL_IMMEDIATELY 1
#endif
/*
** Acquire a reader lock.
** Different API routines are called depending on whether or not this