1.1 --- a/include/SDL_opengl_glext.h Mon Aug 18 18:16:45 2014 -0700
1.2 +++ b/include/SDL_opengl_glext.h Mon Aug 18 18:17:03 2014 -0700
1.3 @@ -465,8 +465,13 @@
1.4 #ifndef GL_VERSION_1_5
1.5 #define GL_VERSION_1_5 1
1.6 #include <stddef.h>
1.7 +#ifdef __MACOSX__
1.8 +typedef ssize_t GLsizeiptr;
1.9 +typedef ssize_t GLintptr;
1.10 +#else
1.11 typedef ptrdiff_t GLsizeiptr;
1.12 typedef ptrdiff_t GLintptr;
1.13 +#endif
1.14 #define GL_BUFFER_SIZE 0x8764
1.15 #define GL_BUFFER_USAGE 0x8765
1.16 #define GL_QUERY_COUNTER_BITS 0x8864