aboutsummaryrefslogtreecommitdiff
path: root/libXext
diff options
context:
space:
mode:
Diffstat (limited to 'libXext')
-rw-r--r--libXext/src/eat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libXext/src/eat.h b/libXext/src/eat.h
index 239532b6d..38d782949 100644
--- a/libXext/src/eat.h
+++ b/libXext/src/eat.h
@@ -29,6 +29,10 @@
#include <X11/Xmd.h> /* for LONG64 on 64-bit platforms */
#include <limits.h>
+#ifdef _MSC_VER
+#define inline __inline
+#endif
+
static inline void _XEatDataWords(Display *dpy, unsigned long n)
{
# ifndef LONG64