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