diff options
author | Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> | 2005-07-13 20:12:13 +0000 |
---|---|---|
committer | Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> | 2005-07-13 20:12:13 +0000 |
commit | b8301067b6e962a3dc786dd909726b7e6cb81085 (patch) | |
tree | 5a2b1ddcaf46b85d5c0c0bc04154f6f82954946a /Xthreads.h | |
parent | ec7a156bcdbe8e4bddf232d4a03f47d426096736 (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.h | 14 |
1 files changed, 1 insertions, 13 deletions
@@ -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 { |