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

Work around limitations of MSVC++ 6. Tickets #1429, #1437, and #1440. (CVS 2720)

FossilOrigin-Name: b2d1803c25b0b823c9cbe27989bacb730b18b45b
This commit is contained in:
drh
2005-09-19 12:53:18 +00:00
parent 48083cee4c
commit bbdc2b94fc
4 changed files with 16 additions and 9 deletions

View File

@@ -465,6 +465,13 @@ int sqlite3OsWrite(OsFile *id, const void *pBuf, int amt){
return SQLITE_OK;
}
/*
** Some microsoft compilers lack this definition.
*/
#ifndef INVALID_SET_FILE_POINTER
# define INVALID_SET_FILE_POINTER ((DWORD)-1)
#endif
/*
** Move the read/write pointer in a file.
*/