aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/CrWindow.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-12-23 15:50:42 +0100
committermarha <marha@users.sourceforge.net>2011-12-23 15:55:34 +0100
commit75d5f3d07b26c8e311e355a7d6bebbaf388949a3 (patch)
treeddcc16e28a40833387e572000c651dc1541a3757 /libX11/src/CrWindow.c
parentd1d04c7bd3f1465b7bb6690022d086c6bb005b70 (diff)
downloadvcxsrv-75d5f3d07b26c8e311e355a7d6bebbaf388949a3.tar.gz
vcxsrv-75d5f3d07b26c8e311e355a7d6bebbaf388949a3.tar.bz2
vcxsrv-75d5f3d07b26c8e311e355a7d6bebbaf388949a3.zip
Solved compilation error due to name conflict
Diffstat (limited to 'libX11/src/CrWindow.c')
-rw-r--r--libX11/src/CrWindow.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libX11/src/CrWindow.c b/libX11/src/CrWindow.c
index 23f7ddce0..347e9a022 100644
--- a/libX11/src/CrWindow.c
+++ b/libX11/src/CrWindow.c
@@ -29,6 +29,10 @@ in this Software without prior written authorization from The Open Group.
#endif
#include "Xlibint.h"
+#ifdef _MSC_VER
+#undef CreateWindow
+#endif
+
Window XCreateSimpleWindow(
register Display *dpy,
Window parent,