diff options
author | Michael Gran <spk121@yahoo.com> | 2018-04-18 06:20:31 -0700 |
---|---|---|
committer | Michael Gran <spk121@yahoo.com> | 2018-04-18 06:20:31 -0700 |
commit | eac111dde65d91bb373e1683f1ff268a4ff31392 (patch) | |
tree | 936c2517de2e16225440fad577ccf859971a5db9 | |
parent | 6d325a7a27bb93299a5b75d3cf017f7ef3eb7048 (diff) | |
download | guile-eac111dde65d91bb373e1683f1ff268a4ff31392.tar.gz |
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
-rw-r--r-- | libguile/iselect.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libguile/iselect.h b/libguile/iselect.h index a573e2c2a..5121153da 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 |