1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-26 20:28:49 -05:00

Added workaround for APIENTRY.

This commit is contained in:
Camilla Berglund 2012-01-18 18:44:28 +01:00
parent 379d0025ec
commit d322fa1ab4

View File

@ -40,6 +40,11 @@
#define WIN32_LEAN_AND_MEAN
#endif
// This is a workaround for the fact that glfw3.h needs to export APIENTRY (to
// correctly declare a GL_ARB_debug_output callback, for example) but windows.h
// thinks it is the only one that gets to do so
#undef APIENTRY
#include <windows.h>
#include <mmsystem.h>