From 1c8ecf1d2a32cdc59758a6cfdc656ada098e4dc7 Mon Sep 17 00:00:00 2001 From: Magnus Olsen Date: Mon, 26 Nov 2007 21:10:33 +0000 Subject: [PATCH] sorry I forget update this file as well svn path=/trunk/; revision=30792 --- reactos/dll/3rdparty/mesa32/include/GL/glu.h | 27 ++++++++------------ 1 file changed, 11 insertions(+), 16 deletions(-) diff --git a/reactos/dll/3rdparty/mesa32/include/GL/glu.h b/reactos/dll/3rdparty/mesa32/include/GL/glu.h index d82103d141a..7db4b707b51 100644 --- a/reactos/dll/3rdparty/mesa32/include/GL/glu.h +++ b/reactos/dll/3rdparty/mesa32/include/GL/glu.h @@ -44,22 +44,17 @@ #define GLAPIENTRYP GLAPIENTRY * #endif -#ifdef GLAPI -#undef GLAPI -#endif - -# if (defined(_MSC_VER) || defined(__MINGW32__)) && defined(BUILD_GLU32) -# define GLAPI __declspec(dllexport) -# elif (defined(_MSC_VER) || defined(__MINGW32__)) && defined(_DLL) /* tag specifying we're building for DLL runtime support */ -# define GLAPI __declspec(dllimport) -# else /* for use with static link lib build of Win32 edition only */ -# define GLAPI extern -# endif /* _STATIC_MESA support */ - - -#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" {