From 81a679d3b1a63ed91b7909db24e1fee58d69b3c2 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 28 Jul 2011 16:23:05 +0200 Subject: gl header cfg: use __unix__ define, instead of all avail variations (linux, sun, ..) --- make/config/jogl/gl-headers.cfg | 2 +- make/config/jogl/gl3-headers.cfg | 2 +- make/config/jogl/glu-gl2.cfg | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'make/config') 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 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 CustomCCode #include CustomCCode #include 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 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 CustomCCode #include CustomCCode #include 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 CustomCCode #include CustomCCode #include -CustomCCode #elif defined(linux) || defined(__sun) || defined(__FreeBSD__) || defined(_HPUX) +CustomCCode #elif defined(__unix__) CustomCCode #include CustomCCode #endif -- cgit v1.2.3