diff options
author | Nigel Stewart <nigels@sourceforge.net> | 2008-10-29 09:22:05 -0600 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-10-29 09:23:48 -0600 |
commit | cd1283f5151749db87edadb16a2aab4ed3b46363 (patch) | |
tree | 653d1ba5a9aa070e169b8016903b6ef1fd9dbffc /include | |
parent | 26c1c04fd034f7c7522e94480f5aa30c98c72f35 (diff) |
glu: fix compilation problem when using Windows gl.h (sf bug 2204589)
Diffstat (limited to 'include')
-rw-r--r-- | include/GL/glu.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/GL/glu.h b/include/GL/glu.h index 3cd1113509..cd967ac5ed 100644 --- a/include/GL/glu.h +++ b/include/GL/glu.h @@ -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 * |