mirror of
https://github.com/marzer/tomlplusplus.git
synced 2026-01-19 04:52:09 +00:00
Fix build msys2 (#264)
This commit is contained in:
@@ -3784,7 +3784,7 @@ TOML_ANON_NAMESPACE_START
|
||||
std::ifstream file;
|
||||
TOML_OVERALIGNED char file_buffer[sizeof(void*) * 1024u];
|
||||
file.rdbuf()->pubsetbuf(file_buffer, sizeof(file_buffer));
|
||||
#if TOML_WINDOWS
|
||||
#if TOML_WINDOWS && !(defined(__MINGW32__) || defined(__MINGW64__))
|
||||
file.open(impl::widen(file_path_str).c_str(), std::ifstream::in | std::ifstream::binary | std::ifstream::ate);
|
||||
#else
|
||||
file.open(file_path_str, std::ifstream::in | std::ifstream::binary | std::ifstream::ate);
|
||||
|
||||
2
toml.hpp
2
toml.hpp
@@ -16342,7 +16342,7 @@ TOML_ANON_NAMESPACE_START
|
||||
std::ifstream file;
|
||||
TOML_OVERALIGNED char file_buffer[sizeof(void*) * 1024u];
|
||||
file.rdbuf()->pubsetbuf(file_buffer, sizeof(file_buffer));
|
||||
#if TOML_WINDOWS
|
||||
#if TOML_WINDOWS && !(defined(__MINGW32__) || defined(__MINGW64__))
|
||||
file.open(impl::widen(file_path_str).c_str(), std::ifstream::in | std::ifstream::binary | std::ifstream::ate);
|
||||
#else
|
||||
file.open(file_path_str, std::ifstream::in | std::ifstream::binary | std::ifstream::ate);
|
||||
|
||||
Reference in New Issue
Block a user