X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Flibgame%2Fplatform.h;h=94c5c4a8bc994d0785b49e359f4c46ed67fdf14d;hp=352e3562ebf33c0214388eb4f6cc317040af0d80;hb=c9433eab5c4317ed4f89164b386a7d33562e29be;hpb=e53d4eb6060f69fdedc6196bba0c68a5afe7ecc0 diff --git a/src/libgame/platform.h b/src/libgame/platform.h index 352e3562..94c5c4a8 100644 --- a/src/libgame/platform.h +++ b/src/libgame/platform.h @@ -1,7 +1,7 @@ /*********************************************************** * Artsoft Retro-Game Library * *----------------------------------------------------------* -* (c) 1994-2001 Artsoft Entertainment * +* (c) 1994-2002 Artsoft Entertainment * * Holger Schemel * * Detmolder Strasse 189 * * 33604 Bielefeld * @@ -14,7 +14,9 @@ #ifndef PLATFORM_H #define PLATFORM_H -/* define keywords for supported main platforms */ +/* ========================================================================= */ +/* define keywords for supported main platforms (Unix, DOS and Windows) */ +/* ========================================================================= */ #if defined(MSDOS) #define PLATFORM_MSDOS @@ -60,6 +62,18 @@ #define PLATFORM_NETBSD #endif +#if defined(__bsdi__) +#define PLATFORM_BSDI +#endif + +#if defined(sparc) || defined(sun) +#define PLATFORM_SOLARIS +#endif + +#if defined(__APPLE__) && defined(__MACH__) +#define PLATFORM_MACOSX +#endif + /* detecting HP-UX by the following compiler keyword definitions: - in K&R mode (the default), the HP C compiler defines "hpux" - in ANSI mode (-Aa or -Ae), the HP C compiler defines "__hpux"