diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-12-31 23:06:58 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-12-31 23:49:35 +0900 |
| commit | a6263d7d3b2d5021f3fb1ca4b8f6479c2c8eeae0 (patch) | |
| tree | 587a4a199db488052e3706220be9a91b2408cae5 /src/sqlite/os.h | |
| parent | afa558173c6871829555d41955877bedb47239cf (diff) | |
| download | klamav-a6263d7d.tar.gz klamav-a6263d7d.zip | |
Remove support for Metrowerks compiler
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 7699fe2141dd88b17367690eef0043170e8f5e9a)
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 /* |
