mirror of
https://github.com/pocoproject/poco.git
synced 2025-11-23 21:53:49 +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:
@@ -31,6 +31,11 @@
|
||||
|
||||
|
||||
#include "MulticastEchoServer.h"
|
||||
|
||||
|
||||
#ifdef POCO_NET_HAS_INTERFACE
|
||||
|
||||
|
||||
#include "Poco/Timespan.h"
|
||||
#include <iostream>
|
||||
|
||||
@@ -120,3 +125,5 @@ Poco::Net::NetworkInterface MulticastEchoServer::findInterface()
|
||||
}
|
||||
return NetworkInterface();
|
||||
}
|
||||
|
||||
#endif // POCO_NET_HAS_INTERFACE
|
||||
|
||||
Reference in New Issue
Block a user