Begin getting it to compile on Windows again.

This commit is contained in:
Jonathan Naylor
2024-04-22 12:48:44 +01:00
parent 0e8788bdbe
commit ca2bff7e9e
10 changed files with 49 additions and 19 deletions

View File

@@ -38,7 +38,8 @@
#include <net/route.h>
#endif
#elif defined(_WIN32) || defined(_WIN64)
#include <ws2tcpip.h>
// #include <ws2tcpip.h>
// #include <WinSock2.h>
#include <iphlpapi.h>
#pragma comment(lib, "iphlpapi.lib")
#ifndef NO_ERROR