* include/winsock2.h: Remove gethostname from INSIDE_CYGWIN protection.

This commit is contained in:
Christopher Faylor 2003-01-11 01:28:37 +00:00
parent 6309c9315a
commit 7ba5067f87
2 changed files with 6 additions and 1 deletions

View File

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

View File

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