diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2008-02-12 21:09:28 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2008-02-12 21:09:28 +0000 |
commit | b597d23cbc3cc1c1361b89e621fcca7ddf9c024a (patch) | |
tree | 931175127192ecb3f18f61b71ed40d57e5612576 /dist/Mesa/include/GL/glu.h | |
parent | 95e90dfb93882027d8e88ed60c6d24fb226511e7 (diff) |
Update to Mesa 7.0.2. Tested by naddy@ (full ports build), simon@
and oga@ (with dri enabled).
Diffstat (limited to 'dist/Mesa/include/GL/glu.h')
-rw-r--r-- | dist/Mesa/include/GL/glu.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/dist/Mesa/include/GL/glu.h b/dist/Mesa/include/GL/glu.h index c0bac75a8..7db4b707b 100644 --- a/dist/Mesa/include/GL/glu.h +++ b/dist/Mesa/include/GL/glu.h @@ -44,9 +44,17 @@ #define GLAPIENTRYP GLAPIENTRY * #endif -#ifndef GLAPI -#define GLAPI -#endif +#if (defined(_MSC_VER) || defined(__MINGW32__)) && defined(BUILD_GLU32) +# undef GLAPI +# define GLAPI __declspec(dllexport) +#elif (defined(_MSC_VER) || defined(__MINGW32__)) && defined(_DLL) +/* tag specifying we're building for DLL runtime support */ +# undef GLAPI +# define GLAPI __declspec(dllimport) +#elif !defined(GLAPI) +/* for use with static link lib build of Win32 edition only */ +# define GLAPI extern +#endif /* _STATIC_MESA support */ #ifdef __cplusplus extern "C" { |