|
|
|
|
@ -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
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|