mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-29 09:30:20 +01:00
fix build problems on cygwin & mingw
This commit is contained in:
parent
39e4095560
commit
2efe639f26
2 changed files with 14 additions and 1 deletions
|
|
@ -47,7 +47,6 @@
|
|||
# define INTERNAL
|
||||
# endif
|
||||
|
||||
|
||||
#ifdef HAVE_ALIAS
|
||||
# define ALIAS2(from,to) \
|
||||
INTERNAL PURE FASTCALL GLint __gl ## from ## _size( GLenum e ) \
|
||||
|
|
@ -59,6 +58,13 @@
|
|||
{ return __gl ## to ## _size( e ); }
|
||||
#endif
|
||||
|
||||
# if defined(__CYGWIN__) || defined(__MINGW32__)
|
||||
# undef FASTCALL
|
||||
# define FASTCALL
|
||||
# undef HAVE_ALIAS
|
||||
# undef INTERNAL
|
||||
# define INTERNAL
|
||||
# endif
|
||||
|
||||
INTERNAL PURE FASTCALL GLint
|
||||
__glCallLists_size( GLenum e )
|
||||
|
|
|
|||
|
|
@ -54,6 +54,13 @@
|
|||
# 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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue