From e4cdb51f7fd2548cf2accb3be9aafe27754483cb Mon Sep 17 00:00:00 2001 From: amai2012 Date: Wed, 11 Oct 2017 08:45:29 +0200 Subject: [PATCH] #8240 Fix test error due to path handling --- lib/path.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/path.cpp b/lib/path.cpp index fab8540cd..c0decad81 100644 --- a/lib/path.cpp +++ b/lib/path.cpp @@ -228,7 +228,7 @@ std::string Path::getAbsoluteFilePath(const std::string& filePath) std::string Path::stripDirectoryPart(const std::string &file) { -#if defined(_WIN32) +#if defined(_WIN32) && !defined(__MINGW32__) const char native = '\\'; #else const char native = '/';