mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-14 07:30:32 +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
|
@ -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