Added explicit WINVER, avoid redefining UNICODE.

master
Camilla Berglund ago%!(EXTRA string=14 years)
parent 84579305cb
commit fccef20b76
  1. 6
      src/win32_platform.h

@ -45,7 +45,13 @@
// thinks it is the only one that gets to do so
#undef APIENTRY
// 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…
Cancel
Save