GCC's visibility attribute is for ELF systems, so undef INTERNAL
GCC's fastcall attribute interferes with __stdcall so undef FASTCALL
# define INTERNAL
# endif
-
#ifdef HAVE_ALIAS
# define ALIAS2(from,to) \
INTERNAL PURE FASTCALL GLint __gl ## from ## _size( GLenum e ) \
{ return __gl ## to ## _size( e ); }
#endif
+# if defined(__CYGWIN__) || defined(WIN32)
+# undef FASTCALL
+# define FASTCALL
+# undef HAVE_ALIAS
+# undef INTERNAL
+# define INTERNAL
+# endif
INTERNAL PURE FASTCALL GLint
__glCallLists_size( GLenum e )
# 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);