Apple uses a void* for GLhandleARB, not an unsigned int.
--- a/include/SDL_opengl.h Fri Jul 29 16:51:25 2011 -0400
+++ b/include/SDL_opengl.h Thu Aug 04 00:46:27 2011 -0400
@@ -5118,8 +5118,12 @@
#ifndef GL_ARB_shader_objects
/* GL types for program/shader text and shader object handles */
typedef char GLcharARB;
+#if defined(__APPLE__)
+typedef void *GLhandleARB;
+#else
typedef unsigned int GLhandleARB;
#endif
+#endif
/* GL type for "half" precision (s10e5) float data in host memory */
#ifndef GL_ARB_half_float_pixel