summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2005-02-18 12:29:55 +0000
committerAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2005-02-18 12:29:55 +0000
commitd7dfac923b491ade943977e6949e40794bdc722f (patch)
tree122a8704a7d66bfcbdd0dd4fa7fe5830a362a60d
parentf6ae96f7a0d7cd5f36536b030563369801a1faba (diff)
attachment #1930 (https://bugs.freedesktop.org/attachment.cgi?id=1930): fixes build of libXext on mingw
-rw-r--r--src/XAppgroup.c8
-rw-r--r--src/Xcup.c8
2 files changed, 2 insertions, 14 deletions
diff --git a/src/XAppgroup.c b/src/XAppgroup.c
index 80fda97..299e20f 100644
--- a/src/XAppgroup.c
+++ b/src/XAppgroup.c
@@ -27,13 +27,7 @@ in this Software without prior written authorization from The Open Group.
/* $Xorg: XAppgroup.c,v 1.5 2001/02/09 02:03:49 xorgcvs Exp $ */
#ifdef WIN32
-#define BOOL wBOOL
-#undef Status
-#define Status wStatus
-#include <windows.h>
-#undef Status
-#define Status int
-#undef BOOL
+#include <X11/Xwindows.h>
#endif
#define NEED_EVENTS
diff --git a/src/Xcup.c b/src/Xcup.c
index b17abf6..c0ebacb 100644
--- a/src/Xcup.c
+++ b/src/Xcup.c
@@ -27,13 +27,7 @@ in this Software without prior written authorization from The Open Group.
/* $Xorg: Xcup.c,v 1.5 2001/02/09 02:03:49 xorgcvs Exp $ */
#ifdef WIN32
-#define BOOL wBOOL
-#undef Status
-#define Status wStatus
-#include <windows.h>
-#undef Status
-#define Status int
-#undef BOOL
+#include <X11/Xwindows.h>
#endif
#define NEED_EVENTS