mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 11:40:18 +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. */
|
||||
#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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue