From ad6b0d87afc72326e1bde884d0e89ffb82200b08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Mon, 6 Apr 2015 21:41:51 -0700 Subject: [PATCH] Added OSX version check to glext.h --- 3rdparty/khronos/gl/glext.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/3rdparty/khronos/gl/glext.h b/3rdparty/khronos/gl/glext.h index 3e53f343..40b78d9a 100644 --- a/3rdparty/khronos/gl/glext.h +++ b/3rdparty/khronos/gl/glext.h @@ -465,7 +465,7 @@ GLAPI void APIENTRY glBlendEquation (GLenum mode); #ifndef GL_VERSION_1_5 #define GL_VERSION_1_5 1 #include -#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 GLintptr; #else @@ -4135,7 +4135,7 @@ GLAPI void APIENTRY glVertexBlendARB (GLint count); #ifndef GL_ARB_vertex_buffer_object #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 GLintptrARB; #else