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 e6be6eef2..92b8b527b 100644
--- a/X11/Xwindows.h
+++ b/X11/Xwindows.h
@@ -63,7 +63,9 @@ The Open Group.
#define _NO_BOOL_TYPEDEF
#define BOOL WINBOOL
#define INT32 wINT32
+#ifdef Status
#undef Status
+#endif
#define Status wStatus
#define ATOM wATOM
#define BYTE wBYTE
@@ -71,7 +73,7 @@ The Open Group.
#include <windows.h>
#undef NOMINMAX
#undef Status
-#define Status int
+typedef int Status;
#undef BYTE
#undef BOOL
#undef INT32