/***********************************************************
* Artsoft Retro-Game Library *
*----------------------------------------------------------*
-* (c) 1994-2001 Artsoft Entertainment *
+* (c) 1994-2002 Artsoft Entertainment *
* Holger Schemel *
* Detmolder Strasse 189 *
* 33604 Bielefeld *
#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
#define PLATFORM_UNIX
#endif
+
/* ========================================================================= */
/* define additional keywords for MS-DOS platform */
/* ========================================================================= */
#endif
+
/* ========================================================================= */
/* define additional keywords for several Unix platforms */
/* ========================================================================= */
#if defined(__FreeBSD__)
#define PLATFORM_FREEBSD
+#define PLATFORM_BSD
+#endif
+
+#if defined(__NetBSD__)
+#define PLATFORM_NETBSD
+#define PLATFORM_BSD
+#endif
+
+#if defined(__bsdi__)
+#define PLATFORM_BSDI
+#define PLATFORM_BSD
+#endif
+
+#if defined(sparc) && defined(sun)
+#define PLATFORM_SUNOS
+#endif
+
+#if defined(__APPLE__) && defined(__MACH__)
+#define PLATFORM_MACOSX
+#endif
+
+#if defined(NeXT)
+#define PLATFORM_NEXT
#endif
/* detecting HP-UX by the following compiler keyword definitions:
#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 */