The unified diff between revisions [5587f68e..] and [95cbeaa8..] is displayed below. It can also be downloaded as a raw diff.

This diff has been restricted to the following files: 'sqlite/os_win.c'

#
#
# patch "sqlite/os_win.c"
#  from [ed03a35b2894f9b99840415f941a9f8594dea756]
#    to [fbccc85e7011174068c27d54256746321a1f0059]
#
============================================================
--- sqlite/os_win.c	ed03a35b2894f9b99840415f941a9f8594dea756
+++ sqlite/os_win.c	fbccc85e7011174068c27d54256746321a1f0059
@@ -466,6 +466,13 @@ int sqlite3OsWrite(OsFile *id, const voi
 }

 /*
+** 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.
 */
 int sqlite3OsSeek(OsFile *id, i64 offset){