summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Djurfeldt <djurfeldt@nada.kth.se>1998-05-11 01:17:10 +0000
committerMikael Djurfeldt <djurfeldt@nada.kth.se>1998-05-11 01:17:10 +0000
commit5e334bd3a0a330db19b40184a2c462a9564184f6 (patch)
tree683fe863993aabee1f10e62e2c1713f52f0a5646
parent0d7588d20ad997c865fed32e43df810934fd9add (diff)
scm_usleep: Don't define j if not used.
-rw-r--r--libguile/scmsigs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libguile/scmsigs.c b/libguile/scmsigs.c
index aea5d0aea..ac1815170 100644
--- a/libguile/scmsigs.c
+++ b/libguile/scmsigs.c
@@ -366,7 +366,9 @@ SCM
scm_usleep (i)
SCM i;
{
+#ifndef USLEEP_RETURNS_VOID
int j;
+#endif
SCM_ASSERT (SCM_INUMP (i) && (SCM_INUM (i) >= 0), i, SCM_ARG1, s_usleep);
#ifdef USLEEP_RETURNS_VOID
usleep (SCM_INUM (i));