File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3784,7 +3784,7 @@ TOML_ANON_NAMESPACE_START
37843784 std::ifstream file;
37853785 TOML_OVERALIGNED char file_buffer[sizeof (void *) * 1024u ];
37863786 file.rdbuf ()->pubsetbuf (file_buffer, sizeof (file_buffer));
3787- #if TOML_WINDOWS
3787+ #if TOML_WINDOWS && !(defined(__MINGW32__) || defined(__MINGW64__))
37883788 file.open (impl::widen (file_path_str).c_str (), std::ifstream::in | std::ifstream::binary | std::ifstream::ate);
37893789#else
37903790 file.open (file_path_str, std::ifstream::in | std::ifstream::binary | std::ifstream::ate);
Original file line number Diff line number Diff line change @@ -16342,7 +16342,7 @@ TOML_ANON_NAMESPACE_START
1634216342 std::ifstream file;
1634316343 TOML_OVERALIGNED char file_buffer[sizeof (void *) * 1024u ];
1634416344 file.rdbuf ()->pubsetbuf (file_buffer, sizeof (file_buffer));
16345- #if TOML_WINDOWS
16345+ #if TOML_WINDOWS && !(defined(__MINGW32__) || defined(__MINGW64__))
1634616346 file.open (impl::widen (file_path_str).c_str (), std::ifstream::in | std::ifstream::binary | std::ifstream::ate);
1634716347#else
1634816348 file.open (file_path_str, std::ifstream::in | std::ifstream::binary | std::ifstream::ate);
You can’t perform that action at this time.
0 commit comments