mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-01 12:20:26 +02:00
No need to check for Cygwin when including <winsock2.h>, this is
already check for by configure. Thus, revert change from 2002-07-07.
This commit is contained in:
parent
d2e13cf79d
commit
f87c105ae3
5 changed files with 5 additions and 10 deletions
|
@ -58,8 +58,7 @@
|
||||||
#include <libltdl/ltdl.h>
|
#include <libltdl/ltdl.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined (HAVE_WINSOCK2_H) \
|
#ifdef HAVE_WINSOCK2_H
|
||||||
&& !(defined (__CYGWIN32__) || defined (__CYGWIN__))
|
|
||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -68,8 +68,7 @@
|
||||||
#include <sys/select.h>
|
#include <sys/select.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined (HAVE_WINSOCK2_H) \
|
#if HAVE_WINSOCK2_H
|
||||||
&& !(defined (__CYGWIN32__) || defined (__CYGWIN__))
|
|
||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -65,8 +65,7 @@
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
#if defined (HAVE_WINSOCK2_H) \
|
#ifdef HAVE_WINSOCK2_H
|
||||||
&& !(defined (__CYGWIN32__) || defined (__CYGWIN__))
|
|
||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
#else
|
#else
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
|
|
|
@ -96,8 +96,7 @@ extern char *ttyname();
|
||||||
#ifdef HAVE_IO_H
|
#ifdef HAVE_IO_H
|
||||||
#include <io.h>
|
#include <io.h>
|
||||||
#endif
|
#endif
|
||||||
#if defined (HAVE_WINSOCK2_H) \
|
#ifdef HAVE_WINSOCK2_H
|
||||||
&& !(defined (__CYGWIN32__) || defined (__CYGWIN__))
|
|
||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -68,8 +68,7 @@
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#if defined (HAVE_WINSOCK2_H) \
|
#ifdef HAVE_WINSOCK2_H
|
||||||
&& !(defined (__CYGWIN32__) || defined (__CYGWIN__))
|
|
||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
#else
|
#else
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue