Don't check HAVE_ALARM, which no longer exists.
authorMark H Weaver <mhw@netris.org>
Tue, 4 Feb 2014 04:09:23 +0000 (23:09 -0500)
committerMark H Weaver <mhw@netris.org>
Tue, 4 Feb 2014 04:09:23 +0000 (23:09 -0500)
* libguile/scmsigs.c (scm_alarm): Remove check for HAVE_ALARM.
  Conditionalize only on HAVE_DECL_ALARM.

libguile/scmsigs.c

index 701beb5..97435f4 100644 (file)
@@ -491,7 +491,7 @@ SCM_DEFINE (scm_restore_signals, "restore-signals", 0, 0, 0,
 }
 #undef FUNC_NAME
 
-#if defined HAVE_ALARM && HAVE_DECL_ALARM
+#if HAVE_DECL_ALARM
 SCM_DEFINE (scm_alarm, "alarm", 1, 0, 0,
            (SCM i),
            "Set a timer to raise a @code{SIGALRM} signal after the specified\n"