From cd1283f5151749db87edadb16a2aab4ed3b46363 Mon Sep 17 00:00:00 2001 From: Nigel Stewart Date: Wed, 29 Oct 2008 09:22:05 -0600 Subject: [PATCH] glu: fix compilation problem when using Windows gl.h (sf bug 2204589) --- include/GL/glu.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/GL/glu.h b/include/GL/glu.h index 3cd1113509f..cd967ac5ed4 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 * -- 2.30.2