Irix needs pthread cond variables which need the pthread.h header file

This commit is contained in:
cebix 2001-07-09 15:44:58 +00:00
parent 5868a40a37
commit 305b9ef7f2

View File

@ -233,6 +233,7 @@ uint64 GetTicks_usec(void)
#elif defined(HAVE_PTHREADS) && defined(sgi)
// SGI pthreads has a bug when using pthreads+signals+nanosleep,
// so instead of using nanosleep, wait on a CV which is never signalled.
#include <pthread.h>
#define USE_COND_TIMEDWAIT
#endif