1 /***********************************************************
2 * Artsoft Retro-Game Library *
3 *----------------------------------------------------------*
4 * (c) 1994-2002 Artsoft Entertainment *
6 * Detmolder Strasse 189 *
9 * e-mail: info@artsoft.org *
10 *----------------------------------------------------------*
12 ***********************************************************/
17 /* ========================================================================= */
18 /* define keywords for supported main platforms (Unix, DOS and Windows) */
19 /* ========================================================================= */
22 #define PLATFORM_MSDOS
24 #define PLATFORM_WIN32
30 /* ========================================================================= */
31 /* define additional keywords for MS-DOS platform */
32 /* ========================================================================= */
34 #if defined(PLATFORM_MSDOS)
36 #ifndef TARGET_ALLEGRO
37 #define TARGET_ALLEGRO
47 /* ========================================================================= */
48 /* define additional keywords for several Unix platforms */
49 /* ========================================================================= */
51 #if defined(PLATFORM_UNIX) && defined(TARGET_X11)
52 #define TARGET_X11_NATIVE
56 #define PLATFORM_LINUX
59 #if defined(__FreeBSD__)
60 #define PLATFORM_FREEBSD
64 #if defined(__NetBSD__)
65 #define PLATFORM_NETBSD
74 #if defined(sparc) && defined(sun)
75 #define PLATFORM_SUNOS
78 #if defined(__APPLE__) && defined(__MACH__)
79 #define PLATFORM_MACOSX
86 /* detecting HP-UX by the following compiler keyword definitions:
87 - in K&R mode (the default), the HP C compiler defines "hpux"
88 - in ANSI mode (-Aa or -Ae), the HP C compiler defines "__hpux"
89 - the gcc (Gnu) C compiler defines "__hpux__"
90 Thanks to Jarkko Hietaniemi for this note. */
92 #if defined(__hpux__) || defined(__hpux) || defined(hpux)
97 /* ========================================================================= */
98 /* this should better go into "system.h" or "features.h" (yet to be created) */
99 /* ========================================================================= */
101 #if defined(PLATFORM_UNIX) || defined(TARGET_SDL)
102 #define NETWORK_AVALIABLE
106 #endif /* PLATFORM_H */