summaryrefslogtreecommitdiff
path: root/hw/xwin/win.h
diff options
context:
space:
mode:
authorAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2005-05-25 12:14:29 +0000
committerAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2005-05-25 12:14:29 +0000
commit1cb18a4bad565d1f783a4cefb3ed467699051068 (patch)
tree56d3657cb45497c1cafd063129e3046b62a27561 /hw/xwin/win.h
parent62343f5162066f19ca6e62d1c85a4a40d45b3295 (diff)
Workaround bug in pthread.h
Diffstat (limited to 'hw/xwin/win.h')
-rw-r--r--hw/xwin/win.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/xwin/win.h b/hw/xwin/win.h
index 8175081e5..eb97a78e9 100644
--- a/hw/xwin/win.h
+++ b/hw/xwin/win.h
@@ -141,8 +141,10 @@
#include <stdio.h>
#include <errno.h>
-#if defined(XWIN_MULTIWINDOWEXTWM) || defined(XWIN_CLIPBOARD) || defined(XWIN_MULTIWINDOW)
+#if defined(XWIN_MULTIWINDOWEXTWM) || defined(XWIN_CLIPBOARD) || defined(XWIN_MULTIWINDOW)
+#define HANDLE void *
#include <pthread.h>
+#undef HANDLE
#endif
#ifdef HAS_MMAP