-#ifdef HAVE_LINUX_THREADS
- /*
- * LinuxThreads are implemented using SIGUSR1/USR2,
- * so we'll use SIGSTKFLT and SIGUNUSED
- */
- pthread_kill( listener_tid, SIGSTKFLT );
- (void) SIGNAL( SIGUNUSED, set_shutdown );
-#else /* !linux */
- pthread_kill( listener_tid, SIGUSR1 );
- (void) SIGNAL( SIGUSR2, set_shutdown );
-#endif /* !linux */
+ pthread_kill( listener_tid, LDAP_SIGUSR1 );
+ (void) SIGNAL( LDAP_SIGUSR2, set_shutdown );