diff options
author | Alan Hourihane <alanh@tungstengraphics.com> | 2005-08-26 09:37:41 +0000 |
---|---|---|
committer | Alan Hourihane <alanh@tungstengraphics.com> | 2005-08-26 09:37:41 +0000 |
commit | f4166a1fd76935f358c2db900c21b3532ba9d6a8 (patch) | |
tree | 5f860982bb37b8b6e3f14f6a66cf53d142063378 /src/glx/x11/indirect_size.h | |
parent | adbf932ec12abae030ab7b961e41be122998cfba (diff) |
Fix the scripts for the cygwin & mingw changes
Diffstat (limited to 'src/glx/x11/indirect_size.h')
-rw-r--r-- | src/glx/x11/indirect_size.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/glx/x11/indirect_size.h b/src/glx/x11/indirect_size.h index 181bdfdfd0..46122a2519 100644 --- a/src/glx/x11/indirect_size.h +++ b/src/glx/x11/indirect_size.h @@ -42,25 +42,18 @@ # define PURE # endif -# if defined(__i386__) && defined(__GNUC__) +# 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) +# if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) && !defined(__CYGWIN__) && !defined(__MINGW32__) # define INTERNAL __attribute__((visibility("internal"))) # else # define INTERNAL # endif -# if defined(__CYGWIN__) || defined(__MINGW32__) -# undef FASTCALL -# define FASTCALL -# undef INTERNAL -# define INTERNAL -# endif - extern INTERNAL PURE FASTCALL GLint __glCallLists_size(GLenum); extern INTERNAL PURE FASTCALL GLint __glFogfv_size(GLenum); extern INTERNAL PURE FASTCALL GLint __glFogiv_size(GLenum); |