Added OSX version check to glext.h

This commit is contained in:
Branimir Karadžić 2015-04-06 21:41:51 -07:00
parent 288361b5c1
commit ad6b0d87af

View file

@ -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