HostDev: #ifdef Windows code

This commit is contained in:
Srivats P 2018-07-26 21:20:58 +05:30
parent bc972e4476
commit fc31e52f61
2 changed files with 8 additions and 0 deletions

View File

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

View File

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