From 249db89b009e64812d4bcec80d0c5a64f1d65aeb Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Thu, 26 May 2005 16:24:35 +0000 Subject: Make a couple minor corrections to gl_API.xml. Fixes the name of an extension that was missing the GL_ part and uses the core GL type names for vertex buffer object functions instead of the ARB names. Also commits the resulting changes to the generated code. Some how, the #if sequence disappeared in the 1.52 version of glapi_x86.S. --- src/mesa/x86/glapi_x86.S | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/mesa/x86/glapi_x86.S') diff --git a/src/mesa/x86/glapi_x86.S b/src/mesa/x86/glapi_x86.S index 6e8f32e373..c0a971bd53 100644 --- a/src/mesa/x86/glapi_x86.S +++ b/src/mesa/x86/glapi_x86.S @@ -29,6 +29,16 @@ #include "assyntax.h" #include "glapioffsets.h" +/* If we build with gcc's -fvisibility=hidden flag, we'll need to change +* the symbol visibility mode to 'default'. +*/ +#if defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 303 +# pragma GCC visibility push(default) +# define HIDDEN(x) .hidden x +#else +# define HIDDEN(x) +#endif + #ifndef __WIN32__ #if defined(STDCALL_API) -- cgit v1.2.3