diff options
author | Alan Hourihane <[email protected]> | 2005-08-26 09:37:41 +0000 |
---|---|---|
committer | Alan Hourihane <[email protected]> | 2005-08-26 09:37:41 +0000 |
commit | f4166a1fd76935f358c2db900c21b3532ba9d6a8 (patch) | |
tree | 5f860982bb37b8b6e3f14f6a66cf53d142063378 /src/mesa/glapi/gl_XML.py | |
parent | adbf932ec12abae030ab7b961e41be122998cfba (diff) |
Fix the scripts for the cygwin & mingw changes
Diffstat (limited to 'src/mesa/glapi/gl_XML.py')
-rw-r--r-- | src/mesa/glapi/gl_XML.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/glapi/gl_XML.py b/src/mesa/glapi/gl_XML.py index 3b87b724ab6..808a0a474e7 100644 --- a/src/mesa/glapi/gl_XML.py +++ b/src/mesa/glapi/gl_XML.py @@ -194,7 +194,7 @@ class gl_print_base: """ self.undef_list.append("FASTCALL") - print """# if defined(__i386__) && defined(__GNUC__) + print """# if defined(__i386__) && defined(__GNUC__) && !defined(__CYGWIN__) && !defined(__MINGW32__) # define FASTCALL __attribute__((fastcall)) # else # define FASTCALL @@ -214,7 +214,7 @@ class gl_print_base: """ self.undef_list.append(S) - print """# if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) + print """# if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) && !defined(__CYGWIN__) && !defined(__MINGW32__) # define %s __attribute__((visibility("%s"))) # else # define %s |