diff options
Diffstat (limited to 'src/glx')
-rw-r--r-- | src/glx/x11/indirect.c | 6 | ||||
-rw-r--r-- | src/glx/x11/indirect.h | 6 | ||||
-rw-r--r-- | src/glx/x11/indirect_size.c | 6 | ||||
-rw-r--r-- | src/glx/x11/indirect_size.h | 6 |
4 files changed, 4 insertions, 20 deletions
diff --git a/src/glx/x11/indirect.c b/src/glx/x11/indirect.c index 2a4db6578a..35be63f36e 100644 --- a/src/glx/x11/indirect.c +++ b/src/glx/x11/indirect.c @@ -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 diff --git a/src/glx/x11/indirect.h b/src/glx/x11/indirect.h index 1c45fa28a4..fd5cbf1edb 100644 --- a/src/glx/x11/indirect.h +++ b/src/glx/x11/indirect.h @@ -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 diff --git a/src/glx/x11/indirect_size.c b/src/glx/x11/indirect_size.c index 79d57d55b6..aa5ed752a5 100644 --- a/src/glx/x11/indirect_size.c +++ b/src/glx/x11/indirect_size.c @@ -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"))) diff --git a/src/glx/x11/indirect_size.h b/src/glx/x11/indirect_size.h index 9ba0bd6907..c3f353dbf4 100644 --- a/src/glx/x11/indirect_size.h +++ b/src/glx/x11/indirect_size.h @@ -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"))) |