diff options
author | Adam Jackson <[email protected]> | 2005-08-26 17:50:39 +0000 |
---|---|---|
committer | Adam Jackson <[email protected]> | 2005-08-26 17:50:39 +0000 |
commit | ca1ac986a1d6d3f292e3d20540de884ad08d9816 (patch) | |
tree | bf0126b4f7bbfbf114169f13c733c628e7223cb4 /src/mesa/glapi | |
parent | f4166a1fd76935f358c2db900c21b3532ba9d6a8 (diff) |
/dri/msg
Diffstat (limited to 'src/mesa/glapi')
-rw-r--r-- | src/mesa/glapi/glX_proto_size.py | 2 | ||||
-rw-r--r-- | src/mesa/glapi/gl_XML.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/glapi/glX_proto_size.py b/src/mesa/glapi/glX_proto_size.py index 63d80dd74c7..62f32f3836a 100644 --- a/src/mesa/glapi/glX_proto_size.py +++ b/src/mesa/glapi/glX_proto_size.py @@ -320,7 +320,7 @@ class PrintGlxSizeStubs_c(PrintGlxSizeStubs_common): self.printVisibility( "INTERNAL", "internal" ) print '' print '' - print '#if defined(__CYGWIN__) || defined(__MINGW32__)' + print '#if defined(__CYGWIN__) || defined(__MINGW32__) || defined(__APPLE__)' print '# undef HAVE_ALIAS' print '#endif' print '#ifdef HAVE_ALIAS' diff --git a/src/mesa/glapi/gl_XML.py b/src/mesa/glapi/gl_XML.py index 808a0a474e7..11b23b7a867 100644 --- a/src/mesa/glapi/gl_XML.py +++ b/src/mesa/glapi/gl_XML.py @@ -214,7 +214,7 @@ class gl_print_base: """ self.undef_list.append(S) - print """# if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) && !defined(__CYGWIN__) && !defined(__MINGW32__) + print """# if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) && defined(__ELF__) # define %s __attribute__((visibility("%s"))) # else # define %s |