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>
#ifdef Q_OS_WIN32
WindowsHostDevice::WindowsHostDevice(QString portName,
DeviceManager *deviceManager)
: Device(deviceManager)
@ -130,3 +132,5 @@ void WindowsHostDevice::sendNeighborSolicit(UInt128 /*tgtIp*/)
{
// TODO
}
#endif

View File

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