diff options
author | Michele Calgaro <[email protected]> | 2024-12-31 23:06:58 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-12-31 23:06:58 +0900 |
commit | 7699fe2141dd88b17367690eef0043170e8f5e9a (patch) | |
tree | f88855963e2ef78f077f38c32927e310bf2cac9b /src | |
parent | 4a4098e3a72e5bb831ac5522ae405ec99da1c8f3 (diff) | |
download | klamav-7699fe2141dd88b17367690eef0043170e8f5e9a.tar.gz klamav-7699fe2141dd88b17367690eef0043170e8f5e9a.zip |
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src')
-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 /* |