restore FASTCALL stuff

This commit is contained in:
Brian Paul
2005-10-20 22:51:50 +00:00
parent adfd5510c0
commit f468dfde17
5 changed files with 25 additions and 7 deletions

View File

@@ -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