aboutsummaryrefslogtreecommitdiff
path: root/libXinerama
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2013-06-04 17:08:21 +0200
committermarha <marha@users.sourceforge.net>2013-06-04 17:08:21 +0200
commita7313d3a6c1a2074ab83fa3d605cd2c5e4a99f87 (patch)
treee256cfaae84dce150554c581ed0da05963ccc4d8 /libXinerama
parent5e2417d0b8611db29de549832534a1de298c97df (diff)
downloadvcxsrv-a7313d3a6c1a2074ab83fa3d605cd2c5e4a99f87.tar.gz
vcxsrv-a7313d3a6c1a2074ab83fa3d605cd2c5e4a99f87.tar.bz2
vcxsrv-a7313d3a6c1a2074ab83fa3d605cd2c5e4a99f87.zip
Solved compilation problems
Diffstat (limited to 'libXinerama')
-rw-r--r--libXinerama/src/Xinerama.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libXinerama/src/Xinerama.c b/libXinerama/src/Xinerama.c
index 67a35b578..1680b9886 100644
--- a/libXinerama/src/Xinerama.c
+++ b/libXinerama/src/Xinerama.c
@@ -39,6 +39,10 @@ Equipment Corporation.
#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