Enabled inclusion of stddef.h on all platforms.

The OS X gl.h defines section macros that prevents glext.h from
including stddef.h, leaving it undeclared when it's later used.
This commit is contained in:
Camilla Berglund 2013-07-23 00:20:23 +02:00
parent 00d004a528
commit bea59f64b2

View File

@ -132,10 +132,9 @@ extern "C" {
#define GLFW_CALLBACK_DEFINED #define GLFW_CALLBACK_DEFINED
#endif /* CALLBACK */ #endif /* CALLBACK */
/* Most <GL/glu.h> variants on Windows need wchar_t */ /* Most GL/glu.h variants on Windows need wchar_t
#if defined(_WIN32) * OpenGL/gl.h blocks the definition of ptrdiff_t by glext.h on OS X */
#include <stddef.h> #include <stddef.h>
#endif
/* ---------------- GLFW related system specific defines ----------------- */ /* ---------------- GLFW related system specific defines ----------------- */