std::basic_filebuf::open(const wchar_t *) isn't part of C++ standard
and it's only present for MSVC but it isn't present in libstdc++ (MinGW)
so we implement this functionality using GNU libstdc++ stdio_filebuf
extension and _wfopen function.
---
Source/kwsys/CMakeLists.txt| 5 ++
Sou
Use common basic_efilebuf for both to reduce code duplication.
---
Source/kwsys/FStream.hxx.in | 164 +---
1 file changed, 95 insertions(+), 69 deletions(-)
diff --git a/Source/kwsys/FStream.hxx.in b/Source/kwsys/FStream.hxx.in
index 681e4d8..248b0cb 100644