mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 21:14:35 +00:00
Include stddef.h unconditionally in public header
This commit is contained in:
parent
3c9142f37e
commit
8221aadea3
@ -117,10 +117,9 @@ extern "C" {
|
|||||||
|
|
||||||
/* Most Windows GLU headers need wchar_t.
|
/* Most Windows GLU headers need wchar_t.
|
||||||
* The OS X OpenGL header blocks the definition of ptrdiff_t by glext.h.
|
* The OS X OpenGL header blocks the definition of ptrdiff_t by glext.h.
|
||||||
|
* Include it unconditionally to avoid surprising side-effects.
|
||||||
*/
|
*/
|
||||||
#if !defined(GLFW_INCLUDE_NONE)
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Include the chosen client API headers.
|
/* Include the chosen client API headers.
|
||||||
*/
|
*/
|
||||||
|
@ -47,8 +47,6 @@
|
|||||||
#define GLFW_INCLUDE_NONE
|
#define GLFW_INCLUDE_NONE
|
||||||
#include "../include/GLFW/glfw3.h"
|
#include "../include/GLFW/glfw3.h"
|
||||||
|
|
||||||
#include <stddef.h>
|
|
||||||
|
|
||||||
#if defined(_MSC_VER) && (_MSC_VER < 1600)
|
#if defined(_MSC_VER) && (_MSC_VER < 1600)
|
||||||
typedef unsigned __int64 GLFWuint64;
|
typedef unsigned __int64 GLFWuint64;
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user