From a5f570809be14c51016952e31bf94daa9d9543b1 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Fri, 2 Sep 2011 13:55:31 -0400 Subject: [PATCH] Fixed another Apple typedef in SDL_opengl.h. --HG-- branch : SDL-1.2 extra : rebase_source : f97ca41fd46383684a26045b2e846b19e58bc4d5 --- include/SDL_opengl.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/SDL_opengl.h b/include/SDL_opengl.h index ec75a63b1..1ccad320d 100644 --- a/include/SDL_opengl.h +++ b/include/SDL_opengl.h @@ -3119,9 +3119,14 @@ typedef ptrdiff_t GLsizeiptr; #ifndef GL_ARB_vertex_buffer_object /* GL types for handling large vertex buffer objects */ +#ifdef __APPLE__ +typedef long GLintptrARB; +typedef long GLsizeiptrARB; +#else typedef ptrdiff_t GLintptrARB; typedef ptrdiff_t GLsizeiptrARB; #endif +#endif #ifndef GL_ARB_shader_objects /* GL types for handling shader object handles and program/shader text */