diff options
author | Jens Verwiebe <info@jensverwiebe.de> | 2012-11-06 19:19:49 +0400 |
---|---|---|
committer | Jens Verwiebe <info@jensverwiebe.de> | 2012-11-06 19:19:49 +0400 |
commit | acc8c654fc83373b3ef98247cd3c2a1e1d23a168 (patch) | |
tree | b5f6b7aedc067f4dee6aec8d4164e8b19a408a21 /extern | |
parent | 41bfb62b0fd72ebd0f3031a261711a00d5e8221b (diff) |
OSX: substitute all MAC_OS_X_VERSION defines with MAC_OS_X_VERSION_MIN_REQUIRED macros, to get more reliable version (api) covering
Diffstat (limited to 'extern')
-rw-r--r-- | extern/glew/src/glew.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extern/glew/src/glew.c b/extern/glew/src/glew.c index 5d886ce7807..833d3999268 100644 --- a/extern/glew/src/glew.c +++ b/extern/glew/src/glew.c @@ -93,7 +93,7 @@ void* dlGetProcAddress (const GLubyte* name) #include <string.h> #include <AvailabilityMacros.h> -#ifdef MAC_OS_X_VERSION_10_3 +#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_3 #include <dlfcn.h> @@ -142,7 +142,7 @@ void* NSGLGetProcAddress (const GLubyte *name) return NULL; #endif } -#endif /* MAC_OS_X_VERSION_10_3 */ +#endif /* MAC_OS_X_VERSION_MIN_REQUIRED */ #endif /* __APPLE__ */ /* |