* scmsigs.c (s_scm_sigaction): guard the SIGIOT case with an
authorMichael Livshin <mlivshin@bigfoot.com>
Sun, 18 Jun 2000 12:06:01 +0000 (12:06 +0000)
committerMichael Livshin <mlivshin@bigfoot.com>
Sun, 18 Jun 2000 12:06:01 +0000 (12:06 +0000)
#ifdef -- it's missing on at least one platform.  (thanks to
Jan Nieuwenhuizen).

libguile/ChangeLog
libguile/scmsigs.c

index 9d45a17..ae8a533 100644 (file)
@@ -1,3 +1,9 @@
+2000-06-18  Michael Livshin  <mlivshin@bigfoot.com>
+
+       * scmsigs.c (s_scm_sigaction): guard the SIGIOT case with an
+       #ifdef -- it's missing on at least one platform.  (thanks to
+       Jan Nieuwenhuizen).
+
 2000-06-16  Dirk Herrmann  <D.Herrmann@tu-bs.de>
 
        * list.c (list*):  Added documentation from common-list.scm.
index 2146ac0..6d49e8e 100644 (file)
@@ -300,7 +300,7 @@ SCM_DEFINE (scm_sigaction, "sigaction", 1, 2, 0,
     case SIGSEGV:
     case SIGBUS:
     case SIGABRT:
-#if SIGIOT != SIGABRT
+#if defined(SIGIOT) && (SIGIOT != SIGABRT)
     case SIGIOT:
 #endif
     case SIGTRAP: