Skip to content

Instantly share code, notes, and snippets.

@orlp
Created April 2, 2012 14:10
Show Gist options
  • Select an option

  • Save orlp/2283696 to your computer and use it in GitHub Desktop.

Select an option

Save orlp/2283696 to your computer and use it in GitHub Desktop.
#if defined (__MINGW32__)
#define d4_OS_H "win.h"
#elif defined (MSDOS) && defined (__GNUC__)
#define q4_DOS 1
#elif (defined(unix) || defined(__unix__) || defined(__GNUC__) || \
defined(_AIX) || defined(__hpux)) && (!defined(_WIN32))
#define q4_UNIX 1
#elif defined (__VMS)
#define q4_VMS 1
#elif defined (macintosh)
#define q4_MAC 1
#elif !defined (d4_OS_H)
#define d4_OS_H "win.h"
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment