mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 13:31:27 +12:00
Fix fs::delim type, fix "." and ".." processing in fs::get_parent_dir (#8975)
* Fix fs::delim type * Fix fs::get_parent_dir: "." and ".." processing
This commit is contained in:
parent
0f67c68993
commit
8ad36e2526
2 changed files with 8 additions and 16 deletions
|
@ -11,12 +11,12 @@
|
|||
namespace fs
|
||||
{
|
||||
#ifdef _WIN32
|
||||
static constexpr auto delim = "/\\";
|
||||
static constexpr auto wdelim = L"/\\";
|
||||
static constexpr auto& delim = "/\\";
|
||||
static constexpr auto& wdelim = L"/\\";
|
||||
using native_handle = void*;
|
||||
#else
|
||||
static constexpr auto delim = "/";
|
||||
static constexpr auto wdelim = L"/";
|
||||
static constexpr auto& delim = "/";
|
||||
static constexpr auto& wdelim = L"/";
|
||||
using native_handle = int;
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue