aboutsummaryrefslogtreecommitdiff
path: root/X11/Xwinsock.h
diff options
context:
space:
mode:
Diffstat (limited to 'X11/Xwinsock.h')
-rw-r--r--X11/Xwinsock.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/X11/Xwinsock.h b/X11/Xwinsock.h
index e6ca7b54b..afc434ca7 100644
--- a/X11/Xwinsock.h
+++ b/X11/Xwinsock.h
@@ -41,14 +41,16 @@ The Open Group.
#define BOOL wBOOL
#define INT32 wINT32
+#ifdef Status
#undef Status
+#endif
#define Status wStatus
#define ATOM wATOM
#define BYTE wBYTE
#define FreeResource wFreeResource
#include <winsock2.h>
#undef Status
-#define Status int
+typedef int Status;
#undef BYTE
#undef BOOL
#undef INT32