aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-08-28 13:45:00 +0000
committermarha <marha@users.sourceforge.net>2009-08-28 13:45:00 +0000
commite63ea193da268829f6fb76ce7a611e0ca51b3124 (patch)
tree4440edba5cd2c9766a36de4593a3040574611fe1
parent58f0c667130593f6cd497591ec6043a275735758 (diff)
downloadvcxsrv-e63ea193da268829f6fb76ce7a611e0ca51b3124.tar.gz
vcxsrv-e63ea193da268829f6fb76ce7a611e0ca51b3124.tar.bz2
vcxsrv-e63ea193da268829f6fb76ce7a611e0ca51b3124.zip
Make sure CreateWindow is not redefined.
-rw-r--r--xorg-server/Xext/saver.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/xorg-server/Xext/saver.c b/xorg-server/Xext/saver.c
index ba565027f..e3da1c44e 100644
--- a/xorg-server/Xext/saver.c
+++ b/xorg-server/Xext/saver.c
@@ -35,6 +35,10 @@ in this Software without prior written authorization from the X Consortium.
#define SCREENSAVER
#endif
+#ifdef CreateWindow
+#undef CreateWindow
+#endif
+
#include <X11/X.h>
#include <X11/Xproto.h>
#include "misc.h"