1
Fork 0
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:
Marius Vollmer 2002-07-10 19:40:43 +00:00
parent d2e13cf79d
commit f87c105ae3
5 changed files with 5 additions and 10 deletions

View file

@ -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

View file

@ -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

View file

@ -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>

View file

@ -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

View file

@ -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>