exclude NetworkInterface where not supported

Exclude NetworkInterface and MulticastSocket on platforms where we do
not have network interface detection implemented
This commit is contained in:
aleks-f
2012-12-23 16:05:16 -06:00
parent ba70e7f734
commit 007659a107
13 changed files with 96 additions and 8 deletions

View File

@@ -35,6 +35,11 @@
#include "Poco/Net/MulticastSocket.h"
#ifdef POCO_NET_HAS_INTERFACE
#include "Poco/Net/NetException.h"
#include <cstring>
@@ -263,3 +268,6 @@ void MulticastSocket::leaveGroup(const IPAddress& groupAddress, const NetworkInt
} } // namespace Poco::Net
#endif // POCO_NET_HAS_INTERFACE