]> git.sur5r.net Git - openldap/commitdiff
Added LDAP_SIGUSR macros for NT
authorHoward Chu <hyc@openldap.org>
Thu, 28 Oct 1999 07:27:00 +0000 (07:27 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 28 Oct 1999 07:27:00 +0000 (07:27 +0000)
include/ac/signal.h

index 73f5d480920375a10e45b7a14b4acf44e4c6a95c..96d9bf67865ec3811047414f9a7d2021cf1841f7 100644 (file)
 #undef LDAP_SIGUSR1
 #undef LDAP_SIGUSR2
 
-#      ifndef HAVE_LINUX_THREADS
+#      if defined(WINNT) || defined(_WINNT)
+#              define LDAP_SIGUSR1     SIGILL
+#              define LDAP_SIGUSR2     SIGTERM
+
+#      elif !defined(HAVE_LINUX_THREADS)
 #              define LDAP_SIGUSR1     SIGUSR1
 #              define LDAP_SIGUSR2     SIGUSR2