Browse Source

Added OSX version check to glext.h

Branimir Karadžić 10 years ago
parent
commit
ad6b0d87af
1 changed files with 2 additions and 2 deletions
  1. 2 2
      3rdparty/khronos/gl/glext.h

+ 2 - 2
3rdparty/khronos/gl/glext.h

@@ -465,7 +465,7 @@ GLAPI void APIENTRY glBlendEquation (GLenum mode);
 #ifndef GL_VERSION_1_5
 #ifndef GL_VERSION_1_5
 #define GL_VERSION_1_5 1
 #define GL_VERSION_1_5 1
 #include <stddef.h>
 #include <stddef.h>
-#if 0 //defined(__APPLE__) && defined(__i386__)
+#if defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ > 1090)
 typedef long GLsizeiptr;
 typedef long GLsizeiptr;
 typedef long GLintptr;
 typedef long GLintptr;
 #else
 #else
@@ -4135,7 +4135,7 @@ GLAPI void APIENTRY glVertexBlendARB (GLint count);
 
 
 #ifndef GL_ARB_vertex_buffer_object
 #ifndef GL_ARB_vertex_buffer_object
 #define GL_ARB_vertex_buffer_object 1
 #define GL_ARB_vertex_buffer_object 1
-#if 0 // defined(__APPLE__) && defined(__i386__)
+#if defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ > 1090)
 typedef long GLsizeiptrARB;
 typedef long GLsizeiptrARB;
 typedef long GLintptrARB;
 typedef long GLintptrARB;
 #else
 #else