summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-07-28 16:23:05 +0200
committerSven Gothel <[email protected]>2011-07-28 16:23:05 +0200
commit81a679d3b1a63ed91b7909db24e1fee58d69b3c2 (patch)
tree2b85e419a2f937d69d1d3cf1711f2325b6cc924c
parent02791a2ac598e36c343b74ae07fe2a0e09ea7303 (diff)
gl header cfg: use __unix__ define, instead of all avail variations (linux, sun, ..)
-rw-r--r--make/config/jogl/gl-headers.cfg2
-rw-r--r--make/config/jogl/gl3-headers.cfg2
-rw-r--r--make/config/jogl/glu-gl2.cfg2
3 files changed, 3 insertions, 3 deletions
diff --git a/make/config/jogl/gl-headers.cfg b/make/config/jogl/gl-headers.cfg
index 5a648b582..a23d09dc1 100644
--- a/make/config/jogl/gl-headers.cfg
+++ b/make/config/jogl/gl-headers.cfg
@@ -23,7 +23,7 @@ CustomCCode #include </usr/include/machine/types.h>
CustomCCode /* Provide Windows typedefs */
CustomCCode typedef void* LPVOID;
CustomCCode typedef unsigned int* PUINT;
-CustomCCode #elif defined(linux) || defined(__sun) || defined(__FreeBSD__) || defined(_HPUX)
+CustomCCode #elif defined(__unix__)
CustomCCode #include <inttypes.h>
CustomCCode #include <stdlib.h>
CustomCCode #include <X11/Xlib.h>
diff --git a/make/config/jogl/gl3-headers.cfg b/make/config/jogl/gl3-headers.cfg
index 8af9157cf..3cab4a4e9 100644
--- a/make/config/jogl/gl3-headers.cfg
+++ b/make/config/jogl/gl3-headers.cfg
@@ -17,7 +17,7 @@ CustomCCode #include </usr/include/machine/types.h>
CustomCCode /* Provide Windows typedefs */
CustomCCode typedef void* LPVOID;
CustomCCode typedef unsigned int* PUINT;
-CustomCCode #elif defined(linux) || defined(__sun) || defined(__FreeBSD__) || defined(_HPUX)
+CustomCCode #elif defined(__unix__)
CustomCCode #include <inttypes.h>
CustomCCode #include <stdlib.h>
CustomCCode #include <X11/Xlib.h>
diff --git a/make/config/jogl/glu-gl2.cfg b/make/config/jogl/glu-gl2.cfg
index 11eeb7c50..5909c8743 100644
--- a/make/config/jogl/glu-gl2.cfg
+++ b/make/config/jogl/glu-gl2.cfg
@@ -18,7 +18,7 @@ CustomCCode #elif defined(macosx)
CustomCCode #include <inttypes.h>
CustomCCode #include <jni.h>
CustomCCode #include </usr/include/machine/types.h>
-CustomCCode #elif defined(linux) || defined(__sun) || defined(__FreeBSD__) || defined(_HPUX)
+CustomCCode #elif defined(__unix__)
CustomCCode #include <inttypes.h>
CustomCCode #endif