Hmmm, are you using the latest version of SDL 1.2 (1.2.15)? Because GLhandleARB is defined as "void *" in SDL 1.2.15's SDL_opengl.h, but yours appears to use "unsigned int" instead. Note that for Mac OS X 10.9 SDL 1.2.15 is kinda mandatory.
A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]