platform/unix.c
changeset 327 76e207c6b4a7
parent 316 29a4d12d1dc6
child 330 5ca5066cf5ff
equal deleted inserted replaced
326:6ad1722bbcae 327:76e207c6b4a7
     8 
     8 
     9 #if HAVE_CONFIG_H
     9 #if HAVE_CONFIG_H
    10 #  include <config.h>
    10 #  include <config.h>
    11 #endif
    11 #endif
    12 
    12 
    13 #if (!defined __BEOS__) /* BeOS uses beos.cpp and posix.c ... */
    13 /* BeOS uses beos.cpp and posix.c ... Cygwin and such use win32.c ... */
    14 
    14 #if ((!defined __BEOS__) && (!defined WIN32))
    15 #if (defined WIN32) /* cygwin/mingw32? */
       
    16 #include "win32.c"  /* !!! FIXME: holy friggin' hack. */
       
    17 #else
       
    18 
    15 
    19 #if ((defined __APPLE__) && (defined __MACH__))
    16 #if ((defined __APPLE__) && (defined __MACH__))
    20 #  if (!defined __DARWIN__)
    17 #  if (!defined __DARWIN__)
    21 #    define __DARWIN__
    18 #    define __DARWIN__
    22 #  endif
    19 #  endif