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.
master
Camilla Berglund ago%!(EXTRA string=12 years)
parent 00d004a528
commit bea59f64b2
  1. 7
      include/GLFW/glfw3.h

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

Loading…
Cancel
Save