aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/Host.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2013-08-01 13:24:30 +0200
committermarha <marha@users.sourceforge.net>2013-08-01 13:24:30 +0200
commitacad661e29a4f09d06f829fdfea949814da57da6 (patch)
tree2edb8c3d6ed46cf3c274fb5b98d08c08c1b2e493 /libX11/src/Host.c
parent04f3d1515878e535b7e3876264eaa4d43a1e6d54 (diff)
downloadvcxsrv-acad661e29a4f09d06f829fdfea949814da57da6.tar.gz
vcxsrv-acad661e29a4f09d06f829fdfea949814da57da6.tar.bz2
vcxsrv-acad661e29a4f09d06f829fdfea949814da57da6.zip
Solved compile error
Diffstat (limited to 'libX11/src/Host.c')
-rw-r--r--libX11/src/Host.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libX11/src/Host.c b/libX11/src/Host.c
index b07c9c312..cdf079758 100644
--- a/libX11/src/Host.c
+++ b/libX11/src/Host.c
@@ -64,6 +64,10 @@ X Window System is a trademark of The Open Group.
#endif
#include "Xlibint.h"
+#ifdef _MSC_VER
+#define inline __inline
+#endif
+
static inline int
changehost (Display *dpy, XHostAddress *host, BYTE mode)
{