mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-27 18:19:52 -05:00
Add NO_THREADS fix from tih@nhh.no
This commit is contained in:
parent
dbcbc66352
commit
7963420cde
1 changed files with 1 additions and 1 deletions
|
|
@ -219,7 +219,7 @@ slapd_daemon(
|
|||
zero.tv_usec = 0;
|
||||
Debug( LDAP_DEBUG_CONNS, "before select active_threads %d\n",
|
||||
active_threads, 0, 0 );
|
||||
#ifdef PTHREAD_PREEMPTIVE
|
||||
#if defined(PTHREAD_PREEMPTIVE) || defined(NO_THREADS)
|
||||
tvp = NULL;
|
||||
#else
|
||||
tvp = active_threads ? &zero : NULL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue