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
63 #if defined(__NetBSD__)
64 #define PLATFORM_NETBSD
71 #if defined(sparc) && defined(sun)
72 #define PLATFORM_SUNOS
75 #if defined(__APPLE__) && defined(__MACH__)
76 #define PLATFORM_MACOSX
83 /* detecting HP-UX by the following compiler keyword definitions:
84 - in K&R mode (the default), the HP C compiler defines "hpux"
85 - in ANSI mode (-Aa or -Ae), the HP C compiler defines "__hpux"
86 - the gcc (Gnu) C compiler defines "__hpux__"
87 Thanks to Jarkko Hietaniemi for this note. */
89 #if defined(__hpux__) || defined(__hpux) || defined(hpux)
94 /* ========================================================================= */
95 /* this should better go into "system.h" or "features.h" (yet to be created) */
96 /* ========================================================================= */
98 #if defined(PLATFORM_UNIX) || defined(TARGET_SDL)
99 #define NETWORK_AVALIABLE
103 #endif /* PLATFORM_H */