diff options
Diffstat (limited to 'src/glx/x11/indirect_size.c')
-rw-r--r-- | src/glx/x11/indirect_size.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/glx/x11/indirect_size.c b/src/glx/x11/indirect_size.c index aa5ed752a5..79d57d55b6 100644 --- a/src/glx/x11/indirect_size.c +++ b/src/glx/x11/indirect_size.c @@ -35,7 +35,11 @@ # define PURE # endif -#define FASTCALL +# if defined(__i386__) && defined(__GNUC__) && !defined(__CYGWIN__) && !defined(__MINGW32__) +# define FASTCALL __attribute__((fastcall)) +# else +# define FASTCALL +# endif # if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) && defined(__ELF__) # define INTERNAL __attribute__((visibility("internal"))) |