mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-26 20:28:49 -05:00
Replaced declaration of wchar_t with stddef.h header.
This commit is contained in:
parent
4b9e616cf8
commit
3c912cbc3c
|
@ -71,7 +71,6 @@ extern "C" {
|
||||||
*/
|
*/
|
||||||
#if __MINGW64__
|
#if __MINGW64__
|
||||||
#define WINAPI
|
#define WINAPI
|
||||||
#include <stddef.h>
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* The following three defines are here solely to make some Windows-based
|
/* The following three defines are here solely to make some Windows-based
|
||||||
|
@ -110,11 +109,10 @@ extern "C" {
|
||||||
#define GLFW_CALLBACK_DEFINED
|
#define GLFW_CALLBACK_DEFINED
|
||||||
#endif /* CALLBACK */
|
#endif /* CALLBACK */
|
||||||
|
|
||||||
/* Microsoft Visual C++, Borland C++ and Pelles C <GL*glu.h> needs wchar_t */
|
/* Most <GL/glu.h> variants on Windows need wchar_t */
|
||||||
#if defined(_WIN32) && (defined(_MSC_VER) || defined(__BORLANDC__) || defined(__POCC__)) && !defined(_WCHAR_T_DEFINED)
|
#if defined(_WIN32)
|
||||||
typedef unsigned short wchar_t;
|
#include <stddef.h>
|
||||||
#define _WCHAR_T_DEFINED
|
#endif
|
||||||
#endif /* _WCHAR_T_DEFINED */
|
|
||||||
|
|
||||||
|
|
||||||
/* ---------------- GLFW related system specific defines ----------------- */
|
/* ---------------- GLFW related system specific defines ----------------- */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user