Disable the FASTCALL optimization because it still breaks server-side GLX.

This commit is contained in:
Brian Paul 2005-10-20 21:12:35 +00:00
parent 6f980dbf21
commit c8f86105d0
5 changed files with 7 additions and 25 deletions

View File

@ -39,11 +39,7 @@
#define __GLX_PAD(n) (((n) + 3) & ~3)
# if defined(__i386__) && defined(__GNUC__) && !defined(__CYGWIN__) && !defined(__MINGW32__)
# define FASTCALL __attribute__((fastcall))
# else
# define FASTCALL
# endif
#define FASTCALL
# if defined(__GNUC__)
# define NOINLINE __attribute__((noinline))
# else

View File

@ -42,11 +42,7 @@
# else
# define HIDDEN
# endif
# if defined(__i386__) && defined(__GNUC__) && !defined(__CYGWIN__) && !defined(__MINGW32__)
# define FASTCALL __attribute__((fastcall))
# else
# define FASTCALL
# endif
#define FASTCALL
# if defined(__GNUC__)
# define NOINLINE __attribute__((noinline))
# else

View File

@ -35,11 +35,7 @@
# define PURE
# endif
# if defined(__i386__) && defined(__GNUC__) && !defined(__CYGWIN__) && !defined(__MINGW32__)
# define FASTCALL __attribute__((fastcall))
# else
# define FASTCALL
# endif
#define FASTCALL
# if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) && defined(__ELF__)
# define INTERNAL __attribute__((visibility("internal")))

View File

@ -42,11 +42,7 @@
# define PURE
# endif
# if defined(__i386__) && defined(__GNUC__) && !defined(__CYGWIN__) && !defined(__MINGW32__)
# define FASTCALL __attribute__((fastcall))
# else
# define FASTCALL
# endif
#define FASTCALL
# if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) && defined(__ELF__)
# define INTERNAL __attribute__((visibility("internal")))

View File

@ -194,11 +194,9 @@ class gl_print_base:
"""
self.undef_list.append("FASTCALL")
print """# if defined(__i386__) && defined(__GNUC__) && !defined(__CYGWIN__) && !defined(__MINGW32__)
# define FASTCALL __attribute__((fastcall))
# else
# define FASTCALL
# endif"""
# I've removed the previous code for __attribute__((fastcall))
# because it breaks server-side GLX. (BrianP)
print "#define FASTCALL"
return