Fossil SCM

better fix

jan.nijtmans 2012-09-12 11:32 UTC restore-win95
Commit 3c33959096d6cdc8403f2d92905cffdd1534283f
1 file changed +2 -2
+2 -2
--- src/sqlite3.c
+++ src/sqlite3.c
@@ -30844,13 +30844,13 @@
3084430844
** API as long as we don't call it when running Win95/98/ME. A call to
3084530845
** this routine is used to determine if the host is Win95/98/ME or
3084630846
** WinNT/2K/XP so that we will know whether or not we can safely call
3084730847
** the LockFileEx() API.
3084830848
*/
30849
-#if SQLITE_OS_WINCE || SQLITE_OS_WINRT
30849
+#if !defined(SQLITE_WIN32_HAS_ANSI)
3085030850
# define isNT() (1)
30851
-#elif !SQLITE_OS_WINNT
30851
+#elif !defined(SQLITE_WIN32_HAS_WIDE)
3085230852
# define isNT() (0)
3085330853
#else
3085430854
static int isNT(void){
3085530855
if( sqlite3_os_type==0 ){
3085630856
OSVERSIONINFOA sInfo;
3085730857
--- src/sqlite3.c
+++ src/sqlite3.c
@@ -30844,13 +30844,13 @@
30844 ** API as long as we don't call it when running Win95/98/ME. A call to
30845 ** this routine is used to determine if the host is Win95/98/ME or
30846 ** WinNT/2K/XP so that we will know whether or not we can safely call
30847 ** the LockFileEx() API.
30848 */
30849 #if SQLITE_OS_WINCE || SQLITE_OS_WINRT
30850 # define isNT() (1)
30851 #elif !SQLITE_OS_WINNT
30852 # define isNT() (0)
30853 #else
30854 static int isNT(void){
30855 if( sqlite3_os_type==0 ){
30856 OSVERSIONINFOA sInfo;
30857
--- src/sqlite3.c
+++ src/sqlite3.c
@@ -30844,13 +30844,13 @@
30844 ** API as long as we don't call it when running Win95/98/ME. A call to
30845 ** this routine is used to determine if the host is Win95/98/ME or
30846 ** WinNT/2K/XP so that we will know whether or not we can safely call
30847 ** the LockFileEx() API.
30848 */
30849 #if !defined(SQLITE_WIN32_HAS_ANSI)
30850 # define isNT() (1)
30851 #elif !defined(SQLITE_WIN32_HAS_WIDE)
30852 # define isNT() (0)
30853 #else
30854 static int isNT(void){
30855 if( sqlite3_os_type==0 ){
30856 OSVERSIONINFOA sInfo;
30857

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button