glu: fix compilation problem when using Windows gl.h (sf bug 2204589)

This commit is contained in:
Nigel Stewart
2008-10-29 09:22:05 -06:00
committed by Brian Paul
parent 26c1c04fd0
commit cd1283f515

View File

@@ -38,8 +38,12 @@
#include <GL/gl.h>
#ifndef GLAPIENTRY
#if defined(_MSC_VER) || defined(__MINGW32__)
#define GLAPIENTRY __stdcall
#else
#define GLAPIENTRY
#endif
#endif
#ifndef GLAPIENTRYP
#define GLAPIENTRYP GLAPIENTRY *