Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-01-11 04:28:37 +0300
committerChristopher Faylor <me@cgf.cx>2003-01-11 04:28:37 +0300
commit7ba5067f8790afc33671e163c2f33798252f2e34 (patch)
treea0358b9cf33269b46d12dbbabe411652bb425c4e
parent6309c9315afc14a0f898756d6bdf957e4bded3e3 (diff)
* include/winsock2.h: Remove gethostname from INSIDE_CYGWIN protection.
-rw-r--r--winsup/w32api/ChangeLog4
-rw-r--r--winsup/w32api/include/winsock2.h3
2 files changed, 6 insertions, 1 deletions
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 <cgf@redhat.com>
+
+ * include/winsock2.h: Remove gethostname from INSIDE_CYGWIN protection.
+
2003-01-08 Danny Smith <dannysmith@users.sourceforge.net>
* lib/dxguid.c: Don't #include <objbase.h>.
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)