summaryrefslogtreecommitdiff
path: root/Xthreads.h
diff options
context:
space:
mode:
authorAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2005-07-13 20:12:13 +0000
committerAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2005-07-13 20:12:13 +0000
commitb8301067b6e962a3dc786dd909726b7e6cb81085 (patch)
tree5a2b1ddcaf46b85d5c0c0bc04154f6f82954946a /Xthreads.h
parentec7a156bcdbe8e4bddf232d4a03f47d426096736 (diff)
include <X11/Xwindows.h> instead of <windows.h>. Several namespace
conflicts are worked around in Xwindows.h
Diffstat (limited to 'Xthreads.h')
-rw-r--r--Xthreads.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/Xthreads.h b/Xthreads.h
index aeec73c..c1cb765 100644
--- a/Xthreads.h
+++ b/Xthreads.h
@@ -93,19 +93,7 @@ typedef mutex_t xmutex_rec;
#define xcondition_broadcast(cv) cond_broadcast(cv)
#else /* !SVR4 */
#ifdef WIN32
-#define BOOL wBOOL
-#define INT32 wINT32
-#ifdef Status
-#undef Status
-#define Status wStatus
-#endif
-#include <windows.h>
-#ifdef Status
-#undef Status
-#define Status int
-#endif
-#undef INT32
-#undef BOOL
+#include <X11/Xwindows.h>
typedef DWORD xthread_t;
typedef DWORD xthread_key_t;
struct _xthread_waiter {