On hpux, pthread_cond_t is undefined when pthread is disabled
This commit is contained in:

committed by
Jeffrey Altman

parent
3a774de985
commit
3f36b4ad68
@@ -94,7 +94,9 @@ _heim_ipc_create_cred(uid_t uid, gid_t gid, pid_t pid, pid_t session, heim_icred
|
|||||||
#ifndef HAVE_GCD
|
#ifndef HAVE_GCD
|
||||||
struct heim_isemaphore {
|
struct heim_isemaphore {
|
||||||
HEIMDAL_MUTEX mutex;
|
HEIMDAL_MUTEX mutex;
|
||||||
|
#ifdef ENABLE_PTHREAD_SUPPORT
|
||||||
pthread_cond_t cond;
|
pthread_cond_t cond;
|
||||||
|
#endif
|
||||||
long counter;
|
long counter;
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user