diff options
Diffstat (limited to 'src/glx/x11/indirect.h')
-rw-r--r-- | src/glx/x11/indirect.h | 6 |
1 files changed, 5 insertions, 1 deletions
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 |