diff options
author | Brian Paul <[email protected]> | 2005-11-04 00:58:17 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2005-11-04 00:58:17 +0000 |
commit | f805cdfedff6e502ab30285d6cd50a9db828376b (patch) | |
tree | 062c424314c198d2534868b4b7b0f0d9270a76ff /src/mesa | |
parent | 84f3ff91d967887545363cc826b118120a135a58 (diff) |
remove unneeded HIDDEN definition (bug 4956)
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/glapi/gl_x86_asm.py | 14 | ||||
-rw-r--r-- | src/mesa/x86/glapi_x86.S | 14 |
2 files changed, 0 insertions, 28 deletions
diff --git a/src/mesa/glapi/gl_x86_asm.py b/src/mesa/glapi/gl_x86_asm.py index ff2fb0139e5..e62687a7235 100644 --- a/src/mesa/glapi/gl_x86_asm.py +++ b/src/mesa/glapi/gl_x86_asm.py @@ -52,18 +52,6 @@ class PrintGenericStubs(gl_XML.gl_print_base): print '#include "assyntax.h"' print '#include "glapioffsets.h"' print '' - print "/* If we build with gcc's -fvisibility=hidden flag, we'll need to change" - print "* the symbol visibility mode to 'default'." - print '*/' - print '#if defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 303' - print '# pragma GCC visibility push(default)' - print '# define HIDDEN(x) .hidden x' - print '#else' - print '# define HIDDEN(x)' - print '#endif' - print '' - print '#ifndef __WIN32__' - print '' print '#if defined(STDCALL_API)' print '# if defined(USE_MGL_NAMESPACE)' print '# define GL_PREFIX(n,n2) GLNAME(CONCAT(mgl,n2))' @@ -200,8 +188,6 @@ class PrintGenericStubs(gl_XML.gl_print_base): print ' .long 2,4,20 /* Minimum kernel version w/TLS */' print '3: .p2align 2 /* pad out section */' print '#endif /* GLX_USE_TLS */' - print '' - print '#endif /* __WIN32__ */' return diff --git a/src/mesa/x86/glapi_x86.S b/src/mesa/x86/glapi_x86.S index 63dcb4098f2..231027ed661 100644 --- a/src/mesa/x86/glapi_x86.S +++ b/src/mesa/x86/glapi_x86.S @@ -29,18 +29,6 @@ #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) # if defined(USE_MGL_NAMESPACE) # define GL_PREFIX(n,n2) GLNAME(CONCAT(mgl,n2)) @@ -1165,5 +1153,3 @@ GLNAME(gl_dispatch_functions_end): .long 2,4,20 /* Minimum kernel version w/TLS */ 3: .p2align 2 /* pad out section */ #endif /* GLX_USE_TLS */ - -#endif /* __WIN32__ */ |