aboutsummaryrefslogtreecommitdiff
path: root/X11/Xwindows.h
diff options
context:
space:
mode:
Diffstat (limited to 'X11/Xwindows.h')
-rw-r--r--X11/Xwindows.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/X11/Xwindows.h b/X11/Xwindows.h
index 6318155e1..5a0a2fbb9 100644
--- a/X11/Xwindows.h
+++ b/X11/Xwindows.h
@@ -52,7 +52,9 @@ The Open Group.
#define NOMINMAX
#define BOOL wBOOL
#define INT32 wINT32
+#ifdef Status
#undef Status
+#endif
#define Status wStatus
#define ATOM wATOM
#define BYTE wBYTE
@@ -60,7 +62,7 @@ The Open Group.
#include <windows.h>
#undef NOMINMAX
#undef Status
-#define Status int
+typedef int Status;
#undef BYTE
#undef BOOL
#undef INT32