mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-29 20:59:45 +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:
@@ -37,6 +37,11 @@
|
||||
|
||||
|
||||
#include "Poco/Net/Net.h"
|
||||
|
||||
|
||||
#ifdef POCO_NET_HAS_INTERFACE
|
||||
|
||||
|
||||
#include "Poco/Net/MulticastSocket.h"
|
||||
#include "Poco/Net/SocketAddress.h"
|
||||
#include "Poco/Net/NetworkInterface.h"
|
||||
@@ -82,4 +87,7 @@ private:
|
||||
};
|
||||
|
||||
|
||||
#endif // POCO_NET_HAS_INTERFACE
|
||||
|
||||
|
||||
#endif // MulticastEchoServer_INCLUDED
|
||||
|
||||
Reference in New Issue
Block a user