This commit is contained in:
Henrik Rydgård committed 2020-10-31 18:32:43 +01:00
1 parent 3d4fc7c696
commit 7a63b5e69e
3 files changed
+17 -15

No files matched your search

+2 -1
View File
@@ -24,10 +24,12 @@
#include <unistd.h>
#endif
#include "Common/Log.h"
#include "Common/TimeUtil.h"
namespace net {
void Init()
{
#ifdef _WIN32
@@ -45,7 +47,6 @@ void Shutdown()
}
bool DNSResolve(const std::string &host, const std::string &service, addrinfo **res, std::string &error, DNSType type) {
#if PPSSPP_PLATFORM(SWITCH)
// Force IPv4 lookups.
if (type == DNSType::IPV6) {