Skip to content
Snippets Groups Projects
Commit 9ccb966a authored by Camilla Löwy's avatar Camilla Löwy
Browse files

Added APIENTRY hack to native header.

parent d5cf713c
No related branches found
No related tags found
No related merge requests found
......@@ -71,6 +71,10 @@ extern "C" {
*************************************************************************/
#if defined(GLFW_EXPOSE_NATIVE_WIN32)
// This is a workaround for the fact that glfw3.h needs to export APIENTRY (for
// example to allow applications to correctly declare a GL_ARB_debug_output
// callback) but windows.h assumes no one will define APIENTRY before it does
#undef APIENTRY
#include <windows.h>
#elif defined(GLFW_EXPOSE_NATIVE_COCOA)
#include <ApplicationServices/ApplicationServices.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment