mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-23 12:44:02 +00:00
COMMON: Add a native directory separator
This will be used when converting the Path back to string to be used by native filesystem APIs
This commit is contained in:
parent
eeba7ca153
commit
6f4a86db7e
@ -188,6 +188,16 @@ public:
|
||||
*/
|
||||
static const char kNoSeparator = '\x00';
|
||||
|
||||
/**
|
||||
* The platform native separator.
|
||||
* This is used when accessing files on disk
|
||||
*/
|
||||
#if defined(WIN32)
|
||||
static const char kNativeSeparator = '\\';
|
||||
#else
|
||||
static const char kNativeSeparator = '/';
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Hash and comparator for Path with following changes:
|
||||
* * case-insensitive
|
||||
|
Loading…
x
Reference in New Issue
Block a user