Skip to content

Commit

Permalink
On hpux, pthread_cond_t is undefined when pthread is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
dmulder authored and nicowilliams committed Mar 17, 2017
1 parent fa4300c commit 5304710
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/ipc/common.c
Expand Up @@ -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
Expand Down

0 comments on commit 5304710

Please sign in to comment.