]> git.sur5r.net Git - openldap/commitdiff
Add NO_THREADS fix from tih@nhh.no
authorKurt Zeilenga <kurt@openldap.org>
Thu, 27 Aug 1998 21:44:45 +0000 (21:44 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 27 Aug 1998 21:44:45 +0000 (21:44 +0000)
servers/slapd/daemon.c

index 1026f45c7ea0394bbe6c418ffee77ed55d46d27c..f8e1816aecfcf95d126311c9236bed8887c2f37d 100644 (file)
@@ -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;