aboutsummaryrefslogtreecommitdiff
path: root/src/os.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/os.h')
-rw-r--r--src/os.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/os.h b/src/os.h
index 7f17c203e..aa544697e 100644
--- a/src/os.h
+++ b/src/os.h
@@ -66,6 +66,15 @@
#endif
/*
+** Determine if we are dealing with Windows NT.
+*/
+#if defined(_WIN32_WINNT)
+# define SQLITE_OS_WINNT 1
+#else
+# define SQLITE_OS_WINNT 0
+#endif
+
+/*
** Determine if we are dealing with WindowsCE - which has a much
** reduced API.
*/