mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 18:42:41 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user