mirror of
https://github.com/glfw/glfw.git
synced 2025-04-14 17:13:42 +00:00
Added explicit WINVER, avoid redefining UNICODE.
This commit is contained in:
parent
84579305cb
commit
fccef20b76
1 changed files with 7 additions and 1 deletions
|
@ -45,7 +45,13 @@
|
|||
// thinks it is the only one that gets to do so
|
||||
#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 <mmsystem.h>
|
||||
|
|
Loading…
Add table
Reference in a new issue