mirror of
https://github.com/glfw/glfw.git
synced 2024-11-11 13:03:52 +00:00
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:
parent
00d004a528
commit
bea59f64b2
@ -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…
Reference in New Issue
Block a user