Fix compile for systems that use pthreads but don't define UNIX and don't have clockid_t defined. If necessary, this can be redone in a more general way using configure.ac.

This commit is contained in:
Steve Checkoway
2006-07-13 06:31:10 +00:00
parent 10a3791564
commit e349c58ba9
@@ -214,6 +214,9 @@ MutexImpl *MakeMutex( RageMutex *pParent )
#if defined(UNIX)
#include <dlfcn.h>
#include "arch/ArchHooks/ArchHooks_Unix.h"
#else
typedef void *clockid_t;
static clockid_t CLOCK_REALTIME = NULL;
#endif
namespace
{