]> git.mxchange.org Git - simgear.git/blobdiff - src/slPortability.h
Cygnus tools compatibility tweaks.
[simgear.git] / src / slPortability.h
index 09953a5fc0bf87e9d222afcf3cd2624d87b1c1de..08d780c144f40bc3cafee85920ed30d4bf9bfe92 100644 (file)
 #include <sys/ioctl.h>
 #else
 #include <windows.h>
-#ifdef __CYGWIN32__
+#if defined( __CYGWIN__ ) || defined( __CYGWIN32__ )
 #  define NEAR /* */
 #  define FAR  /* */
-#  define WHERE_EVER_YOU_ARE /* Curt: optional, but it reminds me of a song */
 #endif
 #include <mmsystem.h>
 #endif
@@ -32,7 +31,7 @@
 #include <string.h>
 #include <math.h>
 
-#ifdef __linux__
+#if defined(__linux__) || defined(__FreeBSD__)
 #define SL_USING_OSS_AUDIO 1
 #endif