From f468dfde17e055f713bd8df14c34e2229c268255 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 20 Oct 2005 22:51:50 +0000 Subject: restore FASTCALL stuff --- src/glx/x11/indirect.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/glx/x11/indirect.h') diff --git a/src/glx/x11/indirect.h b/src/glx/x11/indirect.h index fd5cbf1edb..1c45fa28a4 100644 --- a/src/glx/x11/indirect.h +++ b/src/glx/x11/indirect.h @@ -42,7 +42,11 @@ # else # define HIDDEN # endif -#define FASTCALL +# if defined(__i386__) && defined(__GNUC__) && !defined(__CYGWIN__) && !defined(__MINGW32__) +# define FASTCALL __attribute__((fastcall)) +# else +# define FASTCALL +# endif # if defined(__GNUC__) # define NOINLINE __attribute__((noinline)) # else -- cgit v1.2.3