|
From: | Simon Goldschmidt |
Subject: | [lwip-devel] [bug #28732] struct in_addr conflicts with OS type |
Date: | Mon, 25 Jan 2010 09:31:31 +0000 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2) Gecko/20100115 Firefox/3.6 |
URL: <http://savannah.nongnu.org/bugs/?28732> Summary: struct in_addr conflicts with OS type Project: lwIP - A Lightweight TCP/IP stack Submitted by: goldsimon Submitted on: Mo 25 Jan 2010 09:31:31 GMT Category: None Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Planned Release: lwIP version: CVS Head _______________________________________________________ Details: struct in_addr should not be defined in inet.h or htons/htonl and address defines (none/loopback/any/broadcast) should be moved to another file. The reason is that inet.h is included in many files to get htons etc. but that defines struct in_addr which might be defined by the OS already (e.g. if compiling the win32 or unix port). _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?28732> _______________________________________________ Nachricht geschickt von/durch Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |