From 756fa4f89b367472c621f9ff65e32f349fd37ec9 Mon Sep 17 00:00:00 2001 From: Tim Pierce Date: Sun, 30 Nov 1997 02:35:18 +0000 Subject: [PATCH] Doc fix. --- libguile/ChangeLog | 4 ++++ libguile/iselect.c | 9 +++++++++ 2 files changed, 13 insertions(+) diff --git a/libguile/ChangeLog b/libguile/ChangeLog index 094824852..fbd28b639 100644 --- a/libguile/ChangeLog +++ b/libguile/ChangeLog @@ -1,3 +1,7 @@ +1997-11-29 Tim Pierce + + * iselect.c: Doc fix. + Sat Nov 29 01:16:53 1997 Mikael Djurfeldt * init.c (scm_start_stack): Removed initialization of diff --git a/libguile/iselect.c b/libguile/iselect.c index c1a8bd287..88d3b75d1 100644 --- a/libguile/iselect.c +++ b/libguile/iselect.c @@ -45,6 +45,15 @@ #include "_scm.h" +/* + * iselect.c is linked with Guile only when threads are in use. However, + * when threads are *not* in use, the `make depend' mechanism will try + * to process this file anyway and get tangled up in iselect.h and + * coop-threads.h. Therefore, we use the USE_THREADS macro (which is + * otherwise redundant for this file) to prevent `make depend' from + * failing. + */ + #ifdef USE_THREADS #include "iselect.h" #include "coop-threads.h"