OSX compile IPAddress fixes

This commit is contained in:
Aleksandar Fabijanic
2012-07-26 03:23:16 +00:00
parent d56a7a1ee6
commit 348ca08e7a
2 changed files with 36 additions and 27 deletions

View File

@@ -96,4 +96,20 @@ void Net_API uninitializeNetwork();
} } // namespace Poco::Net
#if !defined(s6_addr16)
#if defined(POCO_OS_FAMILY_WINDOWS)
#define s6_addr16 u.Word
#else
#define s6_addr16 __u6_addr.__u6_addr16
#endif
#endif
#if !defined(s6_addr32)
#if defined(POCO_OS_FAMILY_UNIX)
#define s6_addr32 __u6_addr.__u6_addr32
#endif
#endif
#endif // Net_Net_INCLUDED