diff options
Diffstat (limited to 'src/sqlite/os.h')
-rw-r--r-- | src/sqlite/os.h | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/src/sqlite/os.h b/src/sqlite/os.h index 1434c9f..2c46c38 100644 --- a/src/sqlite/os.h +++ b/src/sqlite/os.h @@ -21,25 +21,22 @@ ** Figure out if we are dealing with Unix, Windows or MacOS. ** ** N.B. MacOS means Mac Classic (or Carbon). Treat Darwin (OS X) as Unix. -** The MacOS build is designed to use CodeWarrior (tested with v8) */ #if !defined(OS_UNIX) && !defined(OS_TEST) && !defined(OS_OTHER) # define OS_OTHER 0 # ifndef OS_WIN -# if defined(_WIN32) || defined(WIN32) || defined(__CYGWIN__) || defined(__MINGW32__) -# define OS_WIN 1 -# define OS_UNIX 0 -# else -# define OS_WIN 0 -# define OS_UNIX 1 +# if defined(_WIN32) || defined(WIN32) || defined(__CYGWIN__) || defined(__MINGW32__) +# define OS_WIN 1 +# define OS_UNIX 0 +# else +# define OS_WIN 0 +# define OS_UNIX 1 # endif # else # define OS_UNIX 0 # endif #else -# ifndef OS_WIN -# define OS_WIN 0 -# endif +# define OS_WIN 0 #endif /* |