summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Browning <rlb@defaultvalue.org>2003-03-27 20:08:35 +0000
committerRob Browning <rlb@defaultvalue.org>2003-03-27 20:08:35 +0000
commit9d4b740b635269c8fedca353fe2e8ef70e7408f2 (patch)
tree49cee3efb838e094ccf329771d93fd4a1404d057
parent90a61c310b220864cfc70f52d5180606583e0d33 (diff)
downloadguile-9d4b740b635269c8fedca353fe2e8ef70e7408f2.tar.gz
* iselect.h: fix various preprocessor usages of new public
symbols to expect 0 or 1 values rather than 1 or undefined. i.e. change #ifdef to #if, etc.
-rw-r--r--libguile/iselect.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libguile/iselect.h b/libguile/iselect.h
index 3f18bf211..8a3f31ebc 100644
--- a/libguile/iselect.h
+++ b/libguile/iselect.h
@@ -51,11 +51,11 @@
/* Needed for FD_SET on some systems. */
#include <sys/types.h>
-#ifdef SCM_HAVE_SYS_SELECT_H
-#include <sys/select.h>
+#if SCM_HAVE_SYS_SELECT_H
+# include <sys/select.h>
#endif
-#ifdef SCM_HAVE_WINSOCK2_H
+#if SCM_HAVE_WINSOCK2_H
# include <winsock2.h>
#endif
@@ -82,7 +82,7 @@ SCM_API int scm_internal_select (int fds,
SELECT_TYPE *efds,
struct timeval *timeout);
-#ifdef SCM_USE_COOP_THREADS
+#if SCM_USE_COOP_THREADS
SCM_API int scm_I_am_dead;