From 0c765c2c28feef9ef0ead3160e1dcb3df3e462ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Mon, 19 Jul 2021 10:42:44 +0200 Subject: [PATCH] Buildfix --- Common/File/DirListing.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Common/File/DirListing.cpp b/Common/File/DirListing.cpp index 4580cc533f..b1f71c8023 100644 --- a/Common/File/DirListing.cpp +++ b/Common/File/DirListing.cpp @@ -1,6 +1,6 @@ #include "ppsspp_config.h" -#ifdef _WIN32 +#if PPSSPP_PLATFORM(WINDOWS) #define WIN32_LEAN_AND_MEAN #include #include @@ -265,7 +265,6 @@ bool GetFilesInDir(const Path &directory, std::vector *files, const ch FileInfo info; if (!GetFileInfo(fullName, &info)) { - WARN_LOG(COMMON, "GetFileInfo failed in GetFilesInDir: '%s'", fullName.c_str()); continue; } if (!info.isDirectory) {