std::string operator""_norm(const char* s, std::size_t n)
{
std::string str(s, n);
-#if defined(__MING32__) || defined(__MINGW64__)
+#if defined(__MINGW32__) || defined(__MINGW64__)
for (auto& c : str)
if (c == '/')
c = '\\';
check("c:", "d:", -1);
check("c:", "c:/", -1);
check("d:", "c:/", +1);
-#if defined(__MING32__) || defined(__MINGW64__)
+#if defined(__MINGW32__) || defined(__MINGW64__)
check("c:/a/b", "c:a/b", +1);
#else
check("c:/a/b", "c:a/b", -1);
std::string operator""_norm(const char* s, std::size_t n)
{
std::string str(s, n);
-#if defined(__MING32__) || defined(__MINGW64__)
+#if defined(__MINGW32__) || defined(__MINGW64__)
for (auto& c : str)
if (c == '/')
c = '\\';
std::string operator""_norm(const char* s, std::size_t n)
{
std::string str(s, n);
-#if defined(__MING32__) || defined(__MINGW64__)
+#if defined(__MINGW32__) || defined(__MINGW64__)
for (auto& c : str)
if (c == '/')
c = '\\';
void
test04()
{
-#if defined(__MING32__) || defined(__MINGW64__)
+#if defined(__MINGW32__) || defined(__MINGW64__)
// DR 3070
compare_paths(path("c:/f:o/bar").lexically_relative("c:/f:o/bar"), ".");
compare_paths(path("c:/foo/bar").lexically_relative("c:/foo/b:r"), "..\\bar");
test_fs::path
root_path()
{
-#if defined(__MING32__) || defined(__MINGW64__)
+#if defined(__MINGW32__) || defined(__MINGW64__)
return L"c:/";
#else
return "/";