HostDev: #ifdef Windows code
This commit is contained in:
parent
bc972e4476
commit
fc31e52f61
@ -21,6 +21,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
|
||||
|
||||
#include <QUuid>
|
||||
|
||||
#ifdef Q_OS_WIN32
|
||||
|
||||
WindowsHostDevice::WindowsHostDevice(QString portName,
|
||||
DeviceManager *deviceManager)
|
||||
: Device(deviceManager)
|
||||
@ -130,3 +132,5 @@ void WindowsHostDevice::sendNeighborSolicit(UInt128 /*tgtIp*/)
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -22,6 +22,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
|
||||
|
||||
#include "device.h"
|
||||
|
||||
#ifdef Q_OS_WIN32
|
||||
|
||||
#include <Ws2tcpip.h>
|
||||
#include <iphlpapi.h>
|
||||
|
||||
@ -46,3 +48,5 @@ private:
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user