summaryrefslogtreecommitdiff
path: root/src/glx
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx')
-rw-r--r--src/glx/x11/indirect_size.c2
-rw-r--r--src/glx/x11/indirect_size.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/glx/x11/indirect_size.c b/src/glx/x11/indirect_size.c
index bd89cec00f..e87229a7d0 100644
--- a/src/glx/x11/indirect_size.c
+++ b/src/glx/x11/indirect_size.c
@@ -58,7 +58,7 @@
{ return __gl ## to ## _size( e ); }
#endif
-# if defined(__CYGWIN__) || defined(WIN32)
+# if defined(__CYGWIN__) || defined(__MINGW32__)
# undef FASTCALL
# define FASTCALL
# undef HAVE_ALIAS
diff --git a/src/glx/x11/indirect_size.h b/src/glx/x11/indirect_size.h
index 090d0a2e92..181bdfdfd0 100644
--- a/src/glx/x11/indirect_size.h
+++ b/src/glx/x11/indirect_size.h
@@ -54,7 +54,7 @@
# define INTERNAL
# endif
-# if defined(__CYGWIN__) || defined(WIN32)
+# if defined(__CYGWIN__) || defined(__MINGW32__)
# undef FASTCALL
# define FASTCALL
# undef INTERNAL