X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fplatform.h;h=5e1683619d8053a003a5273eabf58e15d2c3a165;hb=98cdb3fce945485772ccc49741fa29051338ce0d;hp=61ab27f6a59d9b365b87b7b85eaceb0621524579;hpb=a5e9fc02d650da0520fc4994ba5780c27e4f3569;p=rocksndiamonds.git diff --git a/src/libgame/platform.h b/src/libgame/platform.h index 61ab27f6..5e168361 100644 --- a/src/libgame/platform.h +++ b/src/libgame/platform.h @@ -26,6 +26,7 @@ #define PLATFORM_UNIX #endif + /* ========================================================================= */ /* define additional keywords for MS-DOS platform */ /* ========================================================================= */ @@ -42,6 +43,7 @@ #endif + /* ========================================================================= */ /* define additional keywords for several Unix platforms */ /* ========================================================================= */ @@ -74,6 +76,10 @@ #define PLATFORM_MACOSX #endif +#if defined(NeXT) +#define PLATFORM_NEXT +#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" @@ -84,4 +90,14 @@ #define PLATFORM_HPUX #endif + +/* ========================================================================= */ +/* this should better go into "system.h" or "features.h" (yet to be created) */ +/* ========================================================================= */ + +#if defined(PLATFORM_UNIX) || defined(TARGET_SDL) +#define NETWORK_AVALIABLE +#endif + + #endif /* PLATFORM_H */