Adding a check for Solaris in the "freeglut_internal.h" code to avoid duplication
authorJohn F. Fay <johnffay@nettally.com>
Mon, 21 Dec 2009 01:50:35 +0000 (01:50 +0000)
committerJohn F. Fay <johnffay@nettally.com>
Mon, 21 Dec 2009 01:50:35 +0000 (01:50 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@864 7f0cb862-5218-0410-a997-914c9d46530a

src/freeglut_internal.h

index 79cb404..8ad18e9 100644 (file)
@@ -41,7 +41,7 @@
 /* XXX: Don't all MS-Windows compilers (except Cygwin) have _WIN32 defined?
  * XXX: If so, remove the first set of defined()'s below.
  */
-#if !defined(TARGET_HOST_POSIX_X11) && !defined(TARGET_HOST_MS_WINDOWS) && !defined(TARGET_HOST_MAC_OSX)
+#if !defined(TARGET_HOST_POSIX_X11) && !defined(TARGET_HOST_MS_WINDOWS) && !defined(TARGET_HOST_MAC_OSX) && !defined(TARGET_HOST_SOLARIS)
 #if defined(_MSC_VER) || defined(__WATCOMC__) || defined(__MINGW32__) \
     || defined(_WIN32) || defined(_WIN32_WCE) \
     || ( defined(__CYGWIN__) && defined(X_DISPLAY_MISSING) )