From ed6bbe6695aea257fcb02b62c6c5fdb3f10c1640 Mon Sep 17 00:00:00 2001 From: kaleb Date: Fri, 30 Jun 1995 17:58:05 +0000 Subject: XBUG 7489, generalize SVR4 threads from Sun (Solaris) specific. --- xc/include/Xthreads.h | 5 +++-- 1 file 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 +#include typedef thread_t xthread_t; typedef cond_t xcondition_rec; typedef mutex_t xmutex_rec; -- cgit v1.2.3