aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/Window.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/Window.c')
-rw-r--r--libX11/src/Window.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libX11/src/Window.c b/libX11/src/Window.c
index 85a28f372..341efee0f 100644
--- a/libX11/src/Window.c
+++ b/libX11/src/Window.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
+
void _XProcessWindowAttributes (
register Display *dpy,
xChangeWindowAttributesReq *req,