From 5a752c3aa77ce76065243fb843249f1e32afefe7 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 18 Aug 2014 18:44:08 -0700 Subject: [PATCH] Better Mac OS X build fix - actually match the SDK OpenGL headers. --- include/SDL_opengl_glext.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/SDL_opengl_glext.h b/include/SDL_opengl_glext.h index d59fc090d..7e840f72a 100644 --- a/include/SDL_opengl_glext.h +++ b/include/SDL_opengl_glext.h @@ -466,8 +466,8 @@ GLAPI void APIENTRY glBlendEquation (GLenum mode); #define GL_VERSION_1_5 1 #include #ifdef __MACOSX__ -typedef ssize_t GLsizeiptr; -typedef ssize_t GLintptr; +typedef long GLsizeiptr; +typedef long GLintptr; #else typedef ptrdiff_t GLsizeiptr; typedef ptrdiff_t GLintptr;