From bfcac247075639dd6915a5721c4d2afe26aa1fa5 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Fri, 26 Aug 2011 03:38:46 -0400 Subject: [PATCH] Fix another Apple conflict in SDL_opengl.h --- include/SDL_opengl.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/SDL_opengl.h b/include/SDL_opengl.h index 61f3c5c4b..0e5ed0fde 100644 --- a/include/SDL_opengl.h +++ b/include/SDL_opengl.h @@ -5105,9 +5105,14 @@ typedef char GLchar; #ifndef GL_VERSION_1_5 /* GL types for handling large vertex buffer objects */ +#if defined(__APPLE__) +typedef long GLintptr; +typedef long GLsizeiptr; +#else typedef ptrdiff_t GLintptr; typedef ptrdiff_t GLsizeiptr; #endif +#endif #ifndef GL_ARB_vertex_buffer_object /* GL types for handling large vertex buffer objects */