From 7699fe2141dd88b17367690eef0043170e8f5e9a Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 31 Dec 2024 23:06:58 +0900 Subject: Remove support for Metrowerks compiler Signed-off-by: Michele Calgaro --- src/sqlite/os.h | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'src/sqlite') 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 /* -- cgit v1.2.1