mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
get rid of HAS_STD_FILESYSTEM
just use std::filesystem
This commit is contained in:
@ -6,6 +6,7 @@
|
||||
#include <cstdarg>
|
||||
#include <cstddef>
|
||||
#include <cstdlib>
|
||||
#include <filesystem>
|
||||
#include <iomanip>
|
||||
#include <limits>
|
||||
#include <locale>
|
||||
@ -16,11 +17,6 @@
|
||||
|
||||
#include "Common/CommonTypes.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#include <filesystem>
|
||||
#define HAS_STD_FILESYSTEM
|
||||
#endif
|
||||
|
||||
std::string StringFromFormatV(const char* format, va_list args);
|
||||
|
||||
std::string StringFromFormat(const char* format, ...)
|
||||
@ -214,10 +210,8 @@ inline std::string UTF8ToTStr(std::string_view str)
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef HAS_STD_FILESYSTEM
|
||||
std::filesystem::path StringToPath(std::string_view path);
|
||||
std::string PathToString(const std::filesystem::path& path);
|
||||
#endif
|
||||
|
||||
// Thousand separator. Turns 12345678 into 12,345,678
|
||||
template <typename I>
|
||||
|
Reference in New Issue
Block a user