sorry I forget update this file as well

svn path=/trunk/; revision=30792
This commit is contained in:
Magnus Olsen 2007-11-26 21:10:33 +00:00
parent 10d34eed76
commit 1c8ecf1d2a

View file

@ -44,22 +44,17 @@
#define GLAPIENTRYP GLAPIENTRY * #define GLAPIENTRYP GLAPIENTRY *
#endif #endif
#ifdef GLAPI #if (defined(_MSC_VER) || defined(__MINGW32__)) && defined(BUILD_GLU32)
#undef GLAPI # undef GLAPI
#endif # define GLAPI __declspec(dllexport)
#elif (defined(_MSC_VER) || defined(__MINGW32__)) && defined(_DLL)
# if (defined(_MSC_VER) || defined(__MINGW32__)) && defined(BUILD_GLU32) /* tag specifying we're building for DLL runtime support */
# define GLAPI __declspec(dllexport) # undef GLAPI
# elif (defined(_MSC_VER) || defined(__MINGW32__)) && defined(_DLL) /* tag specifying we're building for DLL runtime support */ # define GLAPI __declspec(dllimport)
# define GLAPI __declspec(dllimport) #elif !defined(GLAPI)
# else /* for use with static link lib build of Win32 edition only */ /* for use with static link lib build of Win32 edition only */
# define GLAPI extern # define GLAPI extern
# endif /* _STATIC_MESA support */ #endif /* _STATIC_MESA support */
#ifndef GLAPI
#define GLAPI
#endif
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {