On hpux, pthread_cond_t is undefined when pthread is disabled

This commit is contained in:
David Mulder
2016-08-10 16:17:55 -06:00
committed by Jeffrey Altman
parent 3a774de985
commit 3f36b4ad68

View File

@@ -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
struct heim_isemaphore {
HEIMDAL_MUTEX mutex;
#ifdef ENABLE_PTHREAD_SUPPORT
pthread_cond_t cond;
#endif
long counter;
};
#endif