diff -r 285cbde439c0 -r 607f6a134737 core-legacy/sourcehook/sourcehook.h --- a/core-legacy/sourcehook/sourcehook.h Sun Dec 07 23:50:23 2008 -0600 +++ b/core-legacy/sourcehook/sourcehook.h Mon Dec 22 23:38:06 2008 -0500 @@ -61,11 +61,21 @@ // System #define SH_SYS_WIN32 1 #define SH_SYS_LINUX 2 +#define SH_SYS_APPLE 3 + +// OS +#define SH_XP_POSIX 10 +#define SH_XP_WINAPI 20 #ifdef _WIN32 # define SH_SYS SH_SYS_WIN32 +# define SH_XP SH_XP_WINAPI #elif defined __linux__ # define SH_SYS SH_SYS_LINUX +# define SH_XP SH_XP_POSIX +#elif defined __APPLE__ +# define SH_SYS SH_SYS_APPLE +# define SH_XP SH_XP_POSIX #else # error Unsupported system #endif