diff options
author | Brian Paul <[email protected]> | 2005-10-20 22:51:50 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2005-10-20 22:51:50 +0000 |
commit | f468dfde17e055f713bd8df14c34e2229c268255 (patch) | |
tree | b5d8d1c466603feedbc634dba29e894eeedf975b /src/mesa/glapi/gl_XML.py | |
parent | adfd5510c0ec2100c37b80b1db1cff76f349a1af (diff) |
restore FASTCALL stuff
Diffstat (limited to 'src/mesa/glapi/gl_XML.py')
-rw-r--r-- | src/mesa/glapi/gl_XML.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mesa/glapi/gl_XML.py b/src/mesa/glapi/gl_XML.py index 0cea2687771..11b23b7a867 100644 --- a/src/mesa/glapi/gl_XML.py +++ b/src/mesa/glapi/gl_XML.py @@ -194,9 +194,11 @@ class gl_print_base: """ self.undef_list.append("FASTCALL") - # I've removed the previous code for __attribute__((fastcall)) - # because it breaks server-side GLX. (BrianP) - print "#define FASTCALL" + print """# if defined(__i386__) && defined(__GNUC__) && !defined(__CYGWIN__) && !defined(__MINGW32__) +# define FASTCALL __attribute__((fastcall)) +# else +# define FASTCALL +# endif""" return |