Better Mac OS X build fix - actually match the SDK OpenGL headers.

This commit is contained in:
Sam Lantinga 2014-08-18 18:44:08 -07:00
parent 4b8f75381f
commit 5a752c3aa7
1 changed files with 2 additions and 2 deletions

View File

@ -466,8 +466,8 @@ GLAPI void APIENTRY glBlendEquation (GLenum mode);
#define GL_VERSION_1_5 1 #define GL_VERSION_1_5 1
#include <stddef.h> #include <stddef.h>
#ifdef __MACOSX__ #ifdef __MACOSX__
typedef ssize_t GLsizeiptr; typedef long GLsizeiptr;
typedef ssize_t GLintptr; typedef long GLintptr;
#else #else
typedef ptrdiff_t GLsizeiptr; typedef ptrdiff_t GLsizeiptr;
typedef ptrdiff_t GLintptr; typedef ptrdiff_t GLintptr;