From: rossta <gra...@li...> - 2003-04-22 20:08:11
|
rossta Tue Apr 22 13:08:09 2003 EDT Modified files: /grapevine/cpp IOLoop.cpp Log: Cygwin build fix Index: grapevine/cpp/IOLoop.cpp diff -u grapevine/cpp/IOLoop.cpp:1.45 grapevine/cpp/IOLoop.cpp:1.46 --- grapevine/cpp/IOLoop.cpp:1.45 Fri Apr 18 02:36:00 2003 +++ grapevine/cpp/IOLoop.cpp Tue Apr 22 13:08:06 2003 @@ -1,4 +1,4 @@ -// $Id: IOLoop.cpp,v 1.45 2003/04/18 09:36:00 blackh Exp $ +// $Id: IOLoop.cpp,v 1.46 2003/04/22 20:08:06 rossta Exp $ #include "config.h" @@ -24,7 +24,9 @@ #endif #ifndef HAVE_IN_ADDR_T - typedef unsigned long int in_addr_t; + #ifndef __CYGWIN__ + typedef unsigned long int in_addr_t; + #endif #endif #include "Assertion.h" @@ -257,8 +259,8 @@ /* Note: Windows 98 will return 0.0.0.0 per MSDN: - The getsockname function does not always return information about the host address - when the socket has been bound to an unspecified address, unless the socket has been + The getsockname function does not always return information about the host address + when the socket has been bound to an unspecified address, unless the socket has been connected with connect or accept (for example, using ADDR_ANY). We will tolerate this in the raisen code. |