refs #17, defaulting to value_type = wchar_t and string_type = std::wstring on Windows when using fs_std*.hpp helper header

This commit is contained in:
Steffen Schuemann 2019-06-01 21:11:31 +02:00
parent 3fcb3f51e1
commit 7aa38946a9
3 changed files with 3 additions and 0 deletions

View File

@ -51,6 +51,7 @@ using fstream = std::fstream;
#endif
#endif
#ifndef GHC_USE_STD_FS
#define GHC_WIN_WSTRING_STRING_TYPE
#include <ghc/filesystem.hpp>
namespace fs {
using namespace ghc::filesystem;

View File

@ -54,6 +54,7 @@ using fstream = std::fstream;
#endif
#endif
#ifndef GHC_USE_STD_FS
#define GHC_WIN_WSTRING_STRING_TYPE
#define GHC_FILESYSTEM_FWD
#include <ghc/filesystem.hpp>
namespace fs {

View File

@ -45,6 +45,7 @@
#endif
#endif
#ifndef GHC_USE_STD_FS
#define GHC_WIN_WSTRING_STRING_TYPE
#define GHC_FILESYSTEM_IMPLEMENTATION
#include <ghc/filesystem.hpp>
#endif