summaryrefslogtreecommitdiff
path: root/src/glx/x11/indirect_size.h
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@tungstengraphics.com>2005-08-24 09:08:06 +0000
committerAlan Hourihane <alanh@tungstengraphics.com>2005-08-24 09:08:06 +0000
commitc58cea00853ad80efc9b5866bd1b95321a6d04ae (patch)
treeb9e0896607a0f47aa41d0b32c2d06d43d9a81d1d /src/glx/x11/indirect_size.h
parent334f2d807766dd399c510f89e67d2ebb075fcee9 (diff)
Fix Windows build problems.
GCC's visibility attribute is for ELF systems, so undef INTERNAL GCC's fastcall attribute interferes with __stdcall so undef FASTCALL
Diffstat (limited to 'src/glx/x11/indirect_size.h')
-rw-r--r--src/glx/x11/indirect_size.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/glx/x11/indirect_size.h b/src/glx/x11/indirect_size.h
index ba7fc35b24..090d0a2e92 100644
--- a/src/glx/x11/indirect_size.h
+++ b/src/glx/x11/indirect_size.h
@@ -54,6 +54,13 @@
# define INTERNAL
# endif
+# if defined(__CYGWIN__) || defined(WIN32)
+# 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);