#8240 Fix test error due to path handling
This commit is contained in:
parent
29a0dfc152
commit
e4cdb51f7f
|
@ -228,7 +228,7 @@ std::string Path::getAbsoluteFilePath(const std::string& filePath)
|
||||||
|
|
||||||
std::string Path::stripDirectoryPart(const std::string &file)
|
std::string Path::stripDirectoryPart(const std::string &file)
|
||||||
{
|
{
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32) && !defined(__MINGW32__)
|
||||||
const char native = '\\';
|
const char native = '\\';
|
||||||
#else
|
#else
|
||||||
const char native = '/';
|
const char native = '/';
|
||||||
|
|
Loading…
Reference in New Issue