We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5241d3e commit b71be7eCopy full SHA for b71be7e
network/netplay/netplay_frontend.c
@@ -20,7 +20,7 @@
20
#pragma comment(lib, "ws2_32")
21
#endif
22
23
-#if defined(_WIN32) && defined(_MSC_VER)
+#if defined(_WIN32) && !defined(__WINRT__) && defined(_MSC_VER)
24
#pragma comment(lib, "Iphlpapi")
25
26
@@ -45,7 +45,7 @@
45
#include <string/stdstring.h>
46
#include <file/file_path.h>
47
48
-#ifdef _WIN32
+#if defined(_WIN32) && !defined(__WINRT__)
49
#include <iphlpapi.h>
50
51
@@ -247,7 +247,7 @@ bool init_netplay_discovery(void)
247
248
if (ret)
249
{
250
251
MIB_IPFORWARDROW ip_forward;
252
253
if (GetBestRoute(inet_addr("223.255.255.255"),
0 commit comments