go-gl/glu — pull request #17 by jimarnold (2012-10-30 16:34:33+00:00)
Title: added _GLUfuncptr typedef to improve OSX compatibility

This adds the _GLUfuncptr - missing from Apple's glu.h implementation - to callback.h so that callback.c compiles on OSX. The typedef will only be added if an OSX environment (__APPLE__) is detected AND a #define (GLAPIENTRY) from the more widely used glu.h is NOT detected, so it should work cross-platform. Disclaimer - I'm not really a C programmer.