summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkaleb <empty>1995-06-30 17:58:05 +0000
committerkaleb <empty>1995-06-30 17:58:05 +0000
commited6bbe6695aea257fcb02b62c6c5fdb3f10c1640 (patch)
treea381a4c699dcf71e03386721d60ac9d8506dcbf4
parent9b4df1932fe677a35266fca4b56c6062a23c2aab (diff)
XBUG 7489, generalize SVR4 threads from Sun (Solaris) specific.
-rw-r--r--xc/include/Xthreads.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/xc/include/Xthreads.h b/xc/include/Xthreads.h
index 7472b3625..5a3362deb 100644
--- a/xc/include/Xthreads.h
+++ b/xc/include/Xthreads.h
@@ -1,5 +1,5 @@
/*
- * $XConsortium: Xthreads.h,v 1.17 94/04/17 20:10:54 gildea Exp kaleb $
+ * $XConsortium: Xthreads.h,v 1.18 95/04/07 19:22:33 kaleb Exp kaleb $
*
*
Copyright (c) 1993 X Consortium
@@ -63,8 +63,9 @@ typedef struct mutex xmutex_rec;
#define xcondition_broadcast(cv) condition_broadcast(cv)
#define xcondition_set_name(cv,str) condition_set_name(cv,str)
#else
-#if defined(sun) || defined(__sun__)
+#ifdef SVR4
#include <thread.h>
+#include <synch.h>
typedef thread_t xthread_t;
typedef cond_t xcondition_rec;
typedef mutex_t xmutex_rec;