guile-commits
[Top][All Lists]
Advanced

[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
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]