From 0f15a0fede0643b6bcdafb1b15d6427e82401429 Mon Sep 17 00:00:00 2001 From: Nigel Stewart Date: Wed, 29 Oct 2008 09:22:05 -0600 Subject: glu: fix compilation problem when using Windows gl.h (sf bug 2204589) --- include/GL/glu.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/GL/glu.h b/include/GL/glu.h index 3cd1113..cd967ac 100644 --- a/include/GL/glu.h +++ b/include/GL/glu.h @@ -38,8 +38,12 @@ #include #ifndef GLAPIENTRY +#if defined(_MSC_VER) || defined(__MINGW32__) +#define GLAPIENTRY __stdcall +#else #define GLAPIENTRY #endif +#endif #ifndef GLAPIENTRYP #define GLAPIENTRYP GLAPIENTRY * -- cgit v1.2.1