3 * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
6 * Redistribution and use in source and binary forms are permitted only
7 * as authorized by the OpenLDAP Public License. A copy of this
8 * license is available at http://www.OpenLDAP.org/license.html or
9 * in file LICENSE in the top-level directory of the distribution.
24 #if !defined( LDAP_SIGUSR1 ) || !defined( LDAP_SIGUSR2 )
28 # ifndef HAVE_LINUX_THREADS
29 # define LDAP_SIGUSR1 SIGUSR1
30 # define LDAP_SIGUSR2 SIGUSR2
34 LinuxThreads implemented unfortunately uses the only
35 two signals reserved for user applications. This forces
36 OpenLDAP to use, hopefullly unused, signals reserved
40 # if defined( SIGSTKFLT )
41 # define LDAP_SIGUSR1 SIGSTKFLT
42 # elif defined ( SIGSYS )
43 # define LDAP_SIGUSR1 SIGSYS
46 # if defined( SIGUNUSED )
47 # define LDAP_SIGUSR2 SIGUNUSED
48 # elif defined ( SIGINFO )
49 # define LDAP_SIGUSR2 SIGINFO
50 # elif defined ( SIGEMT )
51 # define LDAP_SIGUSR2 SIGEMT
58 #define LDAP_SIGCHLD SIGCHLD
60 #define LDAP_SIGCHLD SIGCLD
64 #endif /* _AC_SIGNAL_H */