Re: Residual build errors on MinGW and MSVC++

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sun, 10 Aug 2003 09:45:14 +0200

On Sunday 10 August 2003 00.59, Robert Collins wrote:

> Sounds like mingw have a 'funny' struct definition for in_addr.
> Perhaps a memset is best for now.

There is no guarantee in any standard API whan in_addr should look
like. At best there is guarantees that it has certain members. This
is true for most API structures.

You can use the global constant no_addr for initialization purposes
(not statically/globally however..).

Fixing up this broken code of mine in both 3.0 and 2.5.

Regards
Henrik
Received on Sun Aug 10 2003 - 01:46:15 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:20:27 MST