20 lines
318 B
C
Raw Normal View History

#pragma once
#include <string>
#include <boost/filesystem.hpp>
#ifdef UNICODE
typedef std::wstring tstring;
2025-09-07 21:28:26 +09:00
inline tstring getTString(const std::filesystem::path& p)
{
return p.wstring();
}
#else
typedef std::string tstring;
2025-09-07 21:28:26 +09:00
inline tstring getTString(const std::filesystem::path& p)
{
return p.string();
}
#endif