Skip to content

Commit

Permalink
refs #17, defaulting to value_type = wchar_t and string_type = std::w…
Browse files Browse the repository at this point in the history
…string on Windows when using fs_std*.hpp helper header
  • Loading branch information
gulrak committed Jun 1, 2019
1 parent 3fcb3f5 commit 7aa3894
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/ghc/fs_std.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions include/ghc/fs_std_fwd.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
1 change: 1 addition & 0 deletions include/ghc/fs_std_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7aa3894

Please sign in to comment.