1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Follow the previously established pattern for detecting preprocessor defines for specific flavors of Windows (for NT in this case).

FossilOrigin-Name: a0d92193dd5ae97608748f354aa17eb188431546
This commit is contained in:
mistachkin
2011-12-08 03:51:12 +00:00
parent 23b1b37229
commit c4eef45c14
4 changed files with 19 additions and 10 deletions

View File

@@ -65,6 +65,15 @@
# endif
#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.