4 * Copyright 1998-2000 The OpenLDAP Foundation, Redwood City, California, USA
7 * Redistribution and use in source and binary forms are permitted only
8 * as authorized by the OpenLDAP Public License. A copy of this
9 * license is available at http://www.OpenLDAP.org/license.html or
10 * in file LICENSE in the top-level directory of the distribution.
25 #if !defined( LDAP_SIGUSR1 ) || !defined( LDAP_SIGUSR2 )
29 # if defined(WINNT) || defined(_WINNT) || defined(_WIN32)
30 # define LDAP_SIGUSR1 SIGILL
31 # define LDAP_SIGUSR2 SIGTERM
33 # elif !defined(HAVE_LINUX_THREADS)
34 # define LDAP_SIGUSR1 SIGUSR1
35 # define LDAP_SIGUSR2 SIGUSR2
39 * Some versions of LinuxThreads unfortunately uses the only
40 * two signals reserved for user applications. This forces
41 * OpenLDAP to use other signals reserved for other uses.
44 # if defined( SIGSTKFLT )
45 # define LDAP_SIGUSR1 SIGSTKFLT
46 # elif defined ( SIGSYS )
47 # define LDAP_SIGUSR1 SIGSYS
50 # if defined( SIGUNUSED )
51 # define LDAP_SIGUSR2 SIGUNUSED
52 # elif defined ( SIGINFO )
53 # define LDAP_SIGUSR2 SIGINFO
54 # elif defined ( SIGEMT )
55 # define LDAP_SIGUSR2 SIGEMT
62 #define LDAP_SIGCHLD SIGCHLD
64 #define LDAP_SIGCHLD SIGCLD
68 #endif /* _AC_SIGNAL_H */