From 7963420cdefc8e37e15b69873819d108eccdc2ac Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Thu, 27 Aug 1998 21:44:45 +0000 Subject: [PATCH] Add NO_THREADS fix from tih@nhh.no --- servers/slapd/daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/daemon.c b/servers/slapd/daemon.c index 1026f45c7e..f8e1816aec 100644 --- a/servers/slapd/daemon.c +++ b/servers/slapd/daemon.c @@ -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;