X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fplatform.h;h=61ab27f6a59d9b365b87b7b85eaceb0621524579;hb=1e4d3fd0343fa76d5d1e2803b33bb6faa97403d4;hp=ea956730284d56e182e615d34840a26b1c89222e;hpb=998be01ad92a672b69b11e24d472f6c0c076817f;p=rocksndiamonds.git diff --git a/src/libgame/platform.h b/src/libgame/platform.h index ea956730..61ab27f6 100644 --- a/src/libgame/platform.h +++ b/src/libgame/platform.h @@ -1,7 +1,7 @@ /*********************************************************** * Artsoft Retro-Game Library * *----------------------------------------------------------* -* (c) 1994-2000 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 @@ -56,6 +58,22 @@ #define PLATFORM_FREEBSD #endif +#if defined(__NetBSD__) +#define PLATFORM_NETBSD +#endif + +#if defined(__bsdi__) +#define PLATFORM_BSDI +#endif + +#if defined(sparc) && defined(sun) +#define PLATFORM_SUNOS +#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"