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 179a0e565f
commit c1e53ee38c

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;