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

@@ -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