mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +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>
|
||||
#endif
|
||||
|
||||
#if defined (HAVE_WINSOCK2_H) \
|
||||
&& !(defined (__CYGWIN32__) || defined (__CYGWIN__))
|
||||
#ifdef HAVE_WINSOCK2_H
|
||||
#include <winsock2.h>
|
||||
#endif
|
||||
|
||||
|
|
|
@ -68,8 +68,7 @@
|
|||
#include <sys/select.h>
|
||||
#endif
|
||||
|
||||
#if defined (HAVE_WINSOCK2_H) \
|
||||
&& !(defined (__CYGWIN32__) || defined (__CYGWIN__))
|
||||
#if HAVE_WINSOCK2_H
|
||||
#include <winsock2.h>
|
||||
#endif
|
||||
|
||||
|
|
|
@ -65,8 +65,7 @@
|
|||
|
||||
#include <sys/types.h>
|
||||
|
||||
#if defined (HAVE_WINSOCK2_H) \
|
||||
&& !(defined (__CYGWIN32__) || defined (__CYGWIN__))
|
||||
#ifdef HAVE_WINSOCK2_H
|
||||
#include <winsock2.h>
|
||||
#else
|
||||
#include <sys/socket.h>
|
||||
|
|
|
@ -96,8 +96,7 @@ extern char *ttyname();
|
|||
#ifdef HAVE_IO_H
|
||||
#include <io.h>
|
||||
#endif
|
||||
#if defined (HAVE_WINSOCK2_H) \
|
||||
&& !(defined (__CYGWIN32__) || defined (__CYGWIN__))
|
||||
#ifdef HAVE_WINSOCK2_H
|
||||
#include <winsock2.h>
|
||||
#endif
|
||||
|
||||
|
|
|
@ -68,8 +68,7 @@
|
|||
#include <unistd.h>
|
||||
#endif
|
||||
#include <sys/types.h>
|
||||
#if defined (HAVE_WINSOCK2_H) \
|
||||
&& !(defined (__CYGWIN32__) || defined (__CYGWIN__))
|
||||
#ifdef HAVE_WINSOCK2_H
|
||||
#include <winsock2.h>
|
||||
#else
|
||||
#include <sys/socket.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue