]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/connection.c
Update configure to handle DEC OSF1 3.2 special cases.
[openldap] / servers / slapd / connection.c
index 661877ffb41a3944d0fbb5d2ab1958b65be9812f..abc10cdfced93e96c7e52a4da075c3b227683f16 100644 (file)
@@ -201,12 +201,12 @@ connection_activity(
 
        pthread_attr_init( &attr );
        pthread_attr_setdetachstate( &attr, PTHREAD_CREATE_DETACHED );
-#if !defined(HAVE_PTHREADS_D4) && !defined(HAVE_DCE)
+#if !defined(HAVE_PTHREADS_D4)
        /* POSIX_THREADS or compatible
         * This is a draft 10 or standard pthreads implementation
         */
        if ( pthread_create( &arg->co_op->o_tid, &attr,
-           (void *) connection_operation, (void *) arg ) != 0 ) {
+           connection_operation, (void *) arg ) != 0 ) {
                Debug( LDAP_DEBUG_ANY, "pthread_create failed\n", 0, 0, 0 );
        } else {
                pthread_mutex_lock( &active_threads_mutex );
@@ -218,7 +218,7 @@ connection_activity(
         * This is a draft 4 or earlier pthreads implementation
         */
        if ( pthread_create( &arg->co_op->o_tid, attr,
-           (void *) connection_operation, (void *) arg ) != 0 ) {
+           connection_operation, (void *) arg ) != 0 ) {
                Debug( LDAP_DEBUG_ANY, "pthread_create failed\n", 0, 0, 0 );
        } else {
                pthread_mutex_lock( &active_threads_mutex );