Adding a check for Solaris in the "freeglut_internal.h" code to avoid duplication

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@864 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
fayjf 2009-12-21 01:50:35 +00:00
parent 726c395f33
commit eff908883c

View File

@ -41,7 +41,7 @@
/* XXX: Don't all MS-Windows compilers (except Cygwin) have _WIN32 defined? /* XXX: Don't all MS-Windows compilers (except Cygwin) have _WIN32 defined?
* XXX: If so, remove the first set of defined()'s below. * 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__) \ #if defined(_MSC_VER) || defined(__WATCOMC__) || defined(__MINGW32__) \
|| defined(_WIN32) || defined(_WIN32_WCE) \ || defined(_WIN32) || defined(_WIN32_WCE) \
|| ( defined(__CYGWIN__) && defined(X_DISPLAY_MISSING) ) || ( defined(__CYGWIN__) && defined(X_DISPLAY_MISSING) )