opengl32: Avoid conflicting defines for GLAPI / WINGDIAPI.

oldstable
Michael Stefaniuc 2012-09-05 10:57:34 +02:00 committed by Alexandre Julliard
parent 6a6806944c
commit 4076e0eb12
1 changed files with 2 additions and 4 deletions

View File

@ -19,17 +19,15 @@
#ifndef __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 :-/ */
#include <GL/gl.h>
#undef XMD_H
#undef APIENTRY
#undef CALLBACK
#undef GLAPI
#undef WINAPI
#undef WINGDIAPI
/* Redefines the constants */
#define CALLBACK __stdcall