[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 03/06: Wrong preprocessor test for include guard for sys
From: |
Mike Gran |
Subject: |
[Guile-commits] 03/06: Wrong preprocessor test for include guard for sys/select.h |
Date: |
Wed, 18 Apr 2018 12:00:30 -0400 (EDT) |
mike121 pushed a commit to branch wip-mingw-guile-2.2
in repository guile.
commit eac111dde65d91bb373e1683f1ff268a4ff31392
Author: Michael Gran <address@hidden>
Date: Wed Apr 18 06:20:31 2018 -0700
Wrong preprocessor test for include guard for sys/select.h
Should use #if SCM_HAVE_SYS_SELECT_H
* libguile/iselect.h: [SCM_HAVE_SYS_SELECT_H] guarde inclusion of
sys/select.h
---
libguile/iselect.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libguile/iselect.h b/libguile/iselect.h
index a573e2c..5121153 100644
--- a/libguile/iselect.h
+++ b/libguile/iselect.h
@@ -28,9 +28,9 @@
/* Needed for FD_SET on some systems. */
#include <sys/types.h>
-#if defined(SCM_HAVE_SYS_SELECT_H)
+#if SCM_HAVE_SYS_SELECT_H
#include <sys/select.h>
-#elif defined(SCM_HAVE_WINSOCK2_H)
+#elif SCM_HAVE_WINSOCK2_H
#include <winsock2.h>
#endif
- [Guile-commits] branch wip-mingw-guile-2.2 updated (34131e3 -> 98f4024), Mike Gran, 2018/04/18
- [Guile-commits] 02/06: simplify reading http headers using updated %read-line, Mike Gran, 2018/04/18
- [Guile-commits] 01/06: Let read-line handle alternate line endings, Mike Gran, 2018/04/18
- [Guile-commits] 03/06: Wrong preprocessor test for include guard for sys/select.h,
Mike Gran <=
- [Guile-commits] 05/06: test shouldn't presume UTF-8 can be installed, Mike Gran, 2018/04/18
- [Guile-commits] 06/06: test-unwind leaks a file descriptor, Mike Gran, 2018/04/18
- [Guile-commits] 04/06: test-foreign-object-c needs libgnu, Mike Gran, 2018/04/18