Fossil SCM
Remove (newly) incorrect preprocessor check to fix build on WinRT
Commit
855b1a5037a7125ca544b4ddad1552fcfb398b87
Parent
cd029906920e76d…
1 file changed
+1
-2
+1
-2
| --- src/sqlite3.c | ||
| +++ src/sqlite3.c | ||
| @@ -32406,12 +32406,11 @@ | ||
| 32406 | 32406 | ** In order to facilitate testing on a WinNT system, the test fixture |
| 32407 | 32407 | ** can manually set this value to 1 to emulate Win98 behavior. |
| 32408 | 32408 | */ |
| 32409 | 32409 | #ifdef SQLITE_TEST |
| 32410 | 32410 | SQLITE_API LONG volatile sqlite3_os_type = 0; |
| 32411 | -#elif !SQLITE_OS_WINCE && !SQLITE_OS_WINRT && \ | |
| 32412 | - defined(SQLITE_WIN32_HAS_ANSI) && defined(SQLITE_WIN32_HAS_WIDE) | |
| 32411 | +#else | |
| 32413 | 32412 | static LONG volatile sqlite3_os_type = 0; |
| 32414 | 32413 | #endif |
| 32415 | 32414 | |
| 32416 | 32415 | #ifndef SYSCALL |
| 32417 | 32416 | # define SYSCALL sqlite3_syscall_ptr |
| 32418 | 32417 |
| --- src/sqlite3.c | |
| +++ src/sqlite3.c | |
| @@ -32406,12 +32406,11 @@ | |
| 32406 | ** In order to facilitate testing on a WinNT system, the test fixture |
| 32407 | ** can manually set this value to 1 to emulate Win98 behavior. |
| 32408 | */ |
| 32409 | #ifdef SQLITE_TEST |
| 32410 | SQLITE_API LONG volatile sqlite3_os_type = 0; |
| 32411 | #elif !SQLITE_OS_WINCE && !SQLITE_OS_WINRT && \ |
| 32412 | defined(SQLITE_WIN32_HAS_ANSI) && defined(SQLITE_WIN32_HAS_WIDE) |
| 32413 | static LONG volatile sqlite3_os_type = 0; |
| 32414 | #endif |
| 32415 | |
| 32416 | #ifndef SYSCALL |
| 32417 | # define SYSCALL sqlite3_syscall_ptr |
| 32418 |
| --- src/sqlite3.c | |
| +++ src/sqlite3.c | |
| @@ -32406,12 +32406,11 @@ | |
| 32406 | ** In order to facilitate testing on a WinNT system, the test fixture |
| 32407 | ** can manually set this value to 1 to emulate Win98 behavior. |
| 32408 | */ |
| 32409 | #ifdef SQLITE_TEST |
| 32410 | SQLITE_API LONG volatile sqlite3_os_type = 0; |
| 32411 | #else |
| 32412 | static LONG volatile sqlite3_os_type = 0; |
| 32413 | #endif |
| 32414 | |
| 32415 | #ifndef SYSCALL |
| 32416 | # define SYSCALL sqlite3_syscall_ptr |
| 32417 |