1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-10-08 15:17:25 -04:00

Added explicit WINVER, avoid redefining UNICODE.

This commit is contained in:
Camilla Berglund 2012-02-05 02:41:52 +01:00
parent 84579305cb
commit fccef20b76

View File

@ -45,7 +45,13 @@
// thinks it is the only one that gets to do so // thinks it is the only one that gets to do so
#undef APIENTRY #undef APIENTRY
#define UNICODE // GLFW on Windows is Unicode only and does not work in MBCS mode
#ifndef UNICODE
#define UNICODE
#endif
// GLFW requires Windows XP
#define WINVER 0x0501
#include <windows.h> #include <windows.h>
#include <mmsystem.h> #include <mmsystem.h>