Commit 5a752c3aa77ce76065243fb843249f1e32afefe7

Sam Lantinga 2014-08-18T18:44:08

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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/include/SDL_opengl_glext.h b/include/SDL_opengl_glext.h
index d59fc09..7e840f7 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 <stddef.h>
 #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;