Commit 4076e0eb authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

opengl32: Avoid conflicting defines for GLAPI / WINGDIAPI.

parent 6a680694
...@@ -19,17 +19,15 @@ ...@@ -19,17 +19,15 @@
#ifndef __DLLS_OPENGL32_OPENGL_EXT_H #ifndef __DLLS_OPENGL32_OPENGL_EXT_H
#define __DLLS_OPENGL32_OPENGL_EXT_H #define __DLLS_OPENGL32_OPENGL_EXT_H
#undef APIENTRY
#undef CALLBACK
#undef WINAPI
#define XMD_H /* This is to prevent the Xmd.h inclusion bug :-/ */ #define XMD_H /* This is to prevent the Xmd.h inclusion bug :-/ */
#include <GL/gl.h> #include <GL/gl.h>
#undef XMD_H #undef XMD_H
#undef APIENTRY #undef APIENTRY
#undef CALLBACK #undef CALLBACK
#undef GLAPI
#undef WINAPI #undef WINAPI
#undef WINGDIAPI
/* Redefines the constants */ /* Redefines the constants */
#define CALLBACK __stdcall #define CALLBACK __stdcall
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment