diff --git a/README.md b/README.md index 59cb32d..5321132 100644 --- a/README.md +++ b/README.md @@ -204,7 +204,7 @@ a fallback could be: #include namespace fs = std::filesystem; #else - #include + #include "filesystem.hpp" namespace fs = ghc::filesystem; #endif ``` @@ -246,7 +246,7 @@ you might use: using fstream = std::fstream; } #else - #include + #include "filesystem.hpp" namespace fs { using namespace ghc::filesystem; using ifstream = ghc::filesystem::ifstream; @@ -325,7 +325,7 @@ switching like this: using fstream = std::fstream; } #else - #include + #include "fs_fwd.hpp" namespace fs { using namespace ghc::filesystem; using ifstream = ghc::filesystem::ifstream; @@ -364,7 +364,7 @@ to take precedence: #endif #ifndef GHC_USE_STD_FS - #include + #include "fs_impl.hpp" #endif ``` diff --git a/include/ghc/fs_fwd.hpp b/include/ghc/fs_fwd.hpp index 1f84e35..fe87966 100644 --- a/include/ghc/fs_fwd.hpp +++ b/include/ghc/fs_fwd.hpp @@ -34,5 +34,5 @@ #ifndef GHC_FILESYSTEM_FWD_H #define GHC_FILESYSTEM_FWD_H #define GHC_FILESYSTEM_FWD -#include +#include "filesystem.hpp" #endif // GHC_FILESYSTEM_FWD_H diff --git a/include/ghc/fs_impl.hpp b/include/ghc/fs_impl.hpp index 7e3c989..929a6be 100644 --- a/include/ghc/fs_impl.hpp +++ b/include/ghc/fs_impl.hpp @@ -32,4 +32,4 @@ // header to work. //--------------------------------------------------------------------------------------- #define GHC_FILESYSTEM_IMPLEMENTATION -#include +#include "filesystem.hpp" diff --git a/include/ghc/fs_std.hpp b/include/ghc/fs_std.hpp index f188e57..d5c1643 100644 --- a/include/ghc/fs_std.hpp +++ b/include/ghc/fs_std.hpp @@ -65,7 +65,7 @@ using fstream = std::fstream; } #else - #include + #include "filesystem.hpp" namespace fs { using namespace ghc::filesystem; using ifstream = ghc::filesystem::ifstream; diff --git a/include/ghc/fs_std_fwd.hpp b/include/ghc/fs_std_fwd.hpp index b1ace23..d979113 100644 --- a/include/ghc/fs_std_fwd.hpp +++ b/include/ghc/fs_std_fwd.hpp @@ -67,7 +67,7 @@ using fstream = std::fstream; } #else - #include + #include "fs_fwd.hpp" namespace fs { using namespace ghc::filesystem; using ifstream = ghc::filesystem::ifstream; diff --git a/include/ghc/fs_std_impl.hpp b/include/ghc/fs_std_impl.hpp index b8d5697..8ba5733 100644 --- a/include/ghc/fs_std_impl.hpp +++ b/include/ghc/fs_std_impl.hpp @@ -56,5 +56,5 @@ #endif #ifndef GHC_USE_STD_FS - #include + #include "fs_impl.hpp" #endif