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
29 /* ========================================================================= */
30 /* define additional keywords for MS-DOS platform */
31 /* ========================================================================= */
33 #if defined(PLATFORM_MSDOS)
35 #ifndef TARGET_ALLEGRO
36 #define TARGET_ALLEGRO
45 /* ========================================================================= */
46 /* define additional keywords for several Unix platforms */
47 /* ========================================================================= */
49 #if defined(PLATFORM_UNIX) && defined(TARGET_X11)
50 #define TARGET_X11_NATIVE
54 #define PLATFORM_LINUX
57 #if defined(__FreeBSD__)
58 #define PLATFORM_FREEBSD
61 #if defined(__NetBSD__)
62 #define PLATFORM_NETBSD
69 #if defined(sparc) && defined(sun)
70 #define PLATFORM_SUNOS
73 #if defined(__APPLE__) && defined(__MACH__)
74 #define PLATFORM_MACOSX
77 /* detecting HP-UX by the following compiler keyword definitions:
78 - in K&R mode (the default), the HP C compiler defines "hpux"
79 - in ANSI mode (-Aa or -Ae), the HP C compiler defines "__hpux"
80 - the gcc (Gnu) C compiler defines "__hpux__"
81 Thanks to Jarkko Hietaniemi for this note. */
83 #if defined(__hpux__) || defined(__hpux) || defined(hpux)
87 #endif /* PLATFORM_H */