mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-29 20:59:45 +01:00
OSX compile IPAddress fixes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user