From 5dce252bfcc49995c2bda1d91e010c4c73f71ddb Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 13 Sep 2013 19:21:52 +0200 Subject: Add support for clang ; Use __APPLE__ predefined macro --- 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 62f5e8dd4..073f9d9a0 100644 --- a/make/config/jogl/gl-headers.cfg +++ b/make/config/jogl/gl-headers.cfg @@ -15,7 +15,7 @@ CustomCCode #define WGL_GLEXT_PROTOTYPES CustomCCode /* Include the OpenGL headers */ CustomCCode #include CustomCCode #include -CustomCCode #elif defined(macosx) +CustomCCode #elif defined(__APPLE__) CustomCCode #include CustomCCode #include CustomCCode /* Include the OpenGL headers */ diff --git a/make/config/jogl/gl3-headers.cfg b/make/config/jogl/gl3-headers.cfg index 7ab5099c9..a4c5cf62a 100644 --- a/make/config/jogl/gl3-headers.cfg +++ b/make/config/jogl/gl3-headers.cfg @@ -10,7 +10,7 @@ CustomCCode #include CustomCCode #include CustomCCode #include CustomCCode #include -CustomCCode #elif defined(macosx) +CustomCCode #elif defined(__APPLE__) CustomCCode #include CustomCCode #include CustomCCode #include diff --git a/make/config/jogl/glu-gl2.cfg b/make/config/jogl/glu-gl2.cfg index 2dcc15a94..491d9224f 100644 --- a/make/config/jogl/glu-gl2.cfg +++ b/make/config/jogl/glu-gl2.cfg @@ -15,7 +15,7 @@ CustomCCode #include CustomCCode #undef WIN32_LEAN_AND_MEAN CustomCCode CustomCCode #include -CustomCCode #elif defined(macosx) +CustomCCode #elif defined(__APPLE__) CustomCCode #include CustomCCode #include CustomCCode #include -- cgit v1.2.3