mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-19 05:52:11 +01:00
[util] Define platform path_string type
This commit is contained in:
parent
eda3ba6372
commit
9509ec1144
@ -178,9 +178,11 @@ namespace dxvk::str {
|
|||||||
std::wstring tows(const char* mbs);
|
std::wstring tows(const char* mbs);
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
inline std::wstring topath(const char* mbs) { return tows(mbs); }
|
using path_string = std::wstring;
|
||||||
|
inline path_string topath(const char* mbs) { return tows(mbs); }
|
||||||
#else
|
#else
|
||||||
inline std::string topath(const char* mbs) { return std::string(mbs); }
|
using path_string = std::string;
|
||||||
|
inline path_string topath(const char* mbs) { return std::string(mbs); }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
inline void format1(std::stringstream&) { }
|
inline void format1(std::stringstream&) { }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user