Skip to content
Snippets Groups Projects
Commit 7963420c authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Add NO_THREADS fix from tih@nhh.no

parent dbcbc663
No related branches found
No related tags found
No related merge requests found
...@@ -219,7 +219,7 @@ slapd_daemon( ...@@ -219,7 +219,7 @@ slapd_daemon(
zero.tv_usec = 0; zero.tv_usec = 0;
Debug( LDAP_DEBUG_CONNS, "before select active_threads %d\n", Debug( LDAP_DEBUG_CONNS, "before select active_threads %d\n",
active_threads, 0, 0 ); active_threads, 0, 0 );
#ifdef PTHREAD_PREEMPTIVE #if defined(PTHREAD_PREEMPTIVE) || defined(NO_THREADS)
tvp = NULL; tvp = NULL;
#else #else
tvp = active_threads ? &zero : NULL; tvp = active_threads ? &zero : NULL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment