Fixed building as a universal binary on OS X (resolves issue #793)

This commit is contained in:
Alex Szpakowski
2013-11-20 17:55:30 -04:00
parent d4b71c8958
commit c83e3c33c5
+6
View File
@@ -1056,9 +1056,15 @@ GLEE_EXTERN GLboolean _GLEE_SGIX_igloo_interface;
#endif
#ifndef GL_ARB_vertex_buffer_object
/* awful hack to work around issue with GLee and Mac OS 10.9's gltypes.h */
#if defined(__APPLE__)
typedef long GLintptrARB;
typedef long GLsizeiptrARB;
#else
typedef ptrdiff_t GLintptrARB;
typedef ptrdiff_t GLsizeiptrARB;
#endif
#endif
#ifndef GL_ARB_shader_objects
#if defined(__APPLE__)