mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-29 08:20:20 +02:00
* 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.
This commit is contained in:
parent
90a61c310b
commit
9d4b740b63
1 changed files with 4 additions and 4 deletions
|
@ -51,11 +51,11 @@
|
||||||
/* Needed for FD_SET on some systems. */
|
/* Needed for FD_SET on some systems. */
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
#ifdef SCM_HAVE_SYS_SELECT_H
|
#if SCM_HAVE_SYS_SELECT_H
|
||||||
#include <sys/select.h>
|
# include <sys/select.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef SCM_HAVE_WINSOCK2_H
|
#if SCM_HAVE_WINSOCK2_H
|
||||||
# include <winsock2.h>
|
# include <winsock2.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -82,7 +82,7 @@ SCM_API int scm_internal_select (int fds,
|
||||||
SELECT_TYPE *efds,
|
SELECT_TYPE *efds,
|
||||||
struct timeval *timeout);
|
struct timeval *timeout);
|
||||||
|
|
||||||
#ifdef SCM_USE_COOP_THREADS
|
#if SCM_USE_COOP_THREADS
|
||||||
|
|
||||||
SCM_API int scm_I_am_dead;
|
SCM_API int scm_I_am_dead;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue