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

Add recognition of the SQLITE_OS_WINRT compile-time option.

Use InitializeCriticalSectionEx() under winRT.

FossilOrigin-Name: 8b7ca8a09f7b69db1fe766616cba0307e681a6f3
This commit is contained in:
drh
2012-03-01 20:05:41 +00:00
parent 11de93360f
commit cf3d7a4e13
5 changed files with 22 additions and 10 deletions

View File

@@ -115,6 +115,14 @@
# define SQLITE_OS_WINCE 0
#endif
/*
** Determine if we are dealing with WindowsRT (Metro) as this has a different and
** incompatible API from win32.
*/
#if !defined(SQLITE_OS_WINRT)
# define SQLITE_OS_WINRT 0
#endif
/* If the SET_FULLSYNC macro is not defined above, then make it
** a no-op
*/