aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/CrWindow.c
diff options
context:
space:
mode:
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,