X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffreeglut_internal.h;h=9b3b2d288a7c27c53416bd4c286b5f6e069e5633;hb=88ae79be22c2c5610024775f3561f671ae9d8859;hp=c48d79b48e393fa1a6723b09003df3053aed31eb;hpb=e7e6f1d6b102159c3611a361700ce3d369772939;p=freeglut diff --git a/src/freeglut_internal.h b/src/freeglut_internal.h index c48d79b..9b3b2d2 100644 --- a/src/freeglut_internal.h +++ b/src/freeglut_internal.h @@ -57,6 +57,11 @@ */ #endif +/* Detect both SunPro and gcc compilers on Sun Solaris */ +#if defined (__SVR4) && defined (__sun) +# define TARGET_HOST_SOLARIS 1 +#endif + #ifndef TARGET_HOST_MS_WINDOWS # define TARGET_HOST_MS_WINDOWS 0 #endif @@ -69,6 +74,10 @@ # define TARGET_HOST_MAC_OSX 0 #endif +#ifndef TARGET_HOST_SOLARIS +# define TARGET_HOST_SOLARIS 0 +#endif + /* -- FIXED CONFIGURATION LIMITS ------------------------------------------- */ #define FREEGLUT_MAX_MENUS 3