mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 21:14:35 +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
|
#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 ----------------- */
|
||||||
|
Loading…
Reference in New Issue
Block a user