1 /***********************************************************
2 * Artsoft Retro-Game Library *
3 *----------------------------------------------------------*
4 * (c) 1994-2001 Artsoft Entertainment *
6 * Detmolder Strasse 189 *
9 * e-mail: info@artsoft.org *
10 *----------------------------------------------------------*
12 ***********************************************************/
17 /* define keywords for supported main platforms */
20 #define PLATFORM_MSDOS
22 #define PLATFORM_WIN32
27 /* ========================================================================= */
28 /* define additional keywords for MS-DOS platform */
29 /* ========================================================================= */
31 #if defined(PLATFORM_MSDOS)
33 #ifndef TARGET_ALLEGRO
34 #define TARGET_ALLEGRO
43 /* ========================================================================= */
44 /* define additional keywords for several Unix platforms */
45 /* ========================================================================= */
47 #if defined(PLATFORM_UNIX) && defined(TARGET_X11)
48 #define TARGET_X11_NATIVE
52 #define PLATFORM_LINUX
55 #if defined(__FreeBSD__)
56 #define PLATFORM_FREEBSD
59 #if defined(__NetBSD__)
60 #define PLATFORM_NETBSD
63 /* detecting HP-UX by the following compiler keyword definitions:
64 - in K&R mode (the default), the HP C compiler defines "hpux"
65 - in ANSI mode (-Aa or -Ae), the HP C compiler defines "__hpux"
66 - the gcc (Gnu) C compiler defines "__hpux__"
67 Thanks to Jarkko Hietaniemi for this note. */
69 #if defined(__hpux__) || defined(__hpux) || defined(hpux)
73 #endif /* PLATFORM_H */