From 7ba5067f8790afc33671e163c2f33798252f2e34 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sat, 11 Jan 2003 01:28:37 +0000 Subject: [PATCH] * include/winsock2.h: Remove gethostname from INSIDE_CYGWIN protection. --- winsup/w32api/ChangeLog | 4 ++++ winsup/w32api/include/winsock2.h | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index 81809489a..576178a16 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,7 @@ +2003-01-10 Christopher Faylor + + * include/winsock2.h: Remove gethostname from INSIDE_CYGWIN protection. + 2003-01-08 Danny Smith * lib/dxguid.c: Don't #include . diff --git a/winsup/w32api/include/winsock2.h b/winsup/w32api/include/winsock2.h index 20c3fab3e..fa4b39c32 100644 --- a/winsup/w32api/include/winsock2.h +++ b/winsup/w32api/include/winsock2.h @@ -517,9 +517,10 @@ u_long PASCAL ntohl(u_long); u_short PASCAL htons(u_short); u_short PASCAL ntohs(u_short); int PASCAL select(int nfds,fd_set*,fd_set*,fd_set*,const struct timeval*); -int PASCAL gethostname(char*,int); #endif /* ! (__INSIDE_CYGWIN__ || __INSIDE_MSYS__) */ +int PASCAL gethostname(char*,int); + #define WSAMAKEASYNCREPLY(b,e) MAKELONG(b,e) #define WSAMAKESELECTREPLY(e,error) MAKELONG(e,error) #define WSAGETASYNCBUFLEN(l) LOWORD(l)