Skip to content

Commit 1248cf3

Browse files
author
Oleh Kulykov
committed
1722286433
1 parent d7bd04b commit 1248cf3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/plzma_path.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -361,10 +361,10 @@ namespace plzma {
361361
#endif
362362

363363
void Path::set(const String & str) {
364-
#if defined(LIBPLZMA_POSIX)
365-
set(str.utf8());
366-
#elif defined(LIBPLZMA_MSC)
364+
#if defined(LIBPLZMA_MSC) || defined(LIBPLZMA_MINGW)
367365
set(str.wide());
366+
#elif defined(LIBPLZMA_POSIX)
367+
set(str.utf8());
368368
#endif
369369
}
370370

@@ -431,10 +431,10 @@ namespace plzma {
431431
}
432432

433433
void Path::append(const Path & path) {
434-
#if defined(LIBPLZMA_POSIX)
435-
append(path.utf8());
436-
#elif defined(LIBPLZMA_MSC)
434+
#if defined(LIBPLZMA_MSC) || defined(LIBPLZMA_MINGW)
437435
append(path.wide());
436+
#elif defined(LIBPLZMA_POSIX)
437+
append(path.utf8());
438438
#endif
439439
}
440440

0 commit comments

Comments
 (0)