File tree 2 files changed +2
-22
lines changed
2 files changed +2
-22
lines changed Original file line number Diff line number Diff line change 3
3
#include < iostream>
4
4
#include < string>
5
5
6
- #if defined(__cplusplus) && __cplusplus >= 201703L && defined(__has_include)
7
- #if __has_include(<filesystem>)
8
- #define GHC_USE_STD_FS
9
- #include < filesystem>
10
- namespace fs = std::filesystem;
11
- #endif
12
- #endif
13
- #ifndef GHC_USE_STD_FS
14
- #include < ghc/filesystem.hpp>
15
- namespace fs = ghc::filesystem;
16
- #endif
6
+ #include < ghc/fs_std.hpp>
17
7
18
8
template <typename TP>
19
9
std::time_t to_time_t (TP tp)
Original file line number Diff line number Diff line change 2
2
#include < iomanip>
3
3
#include < chrono>
4
4
5
- #if defined(__cplusplus) && __cplusplus >= 201703L && defined(__has_include)
6
- #if __has_include(<filesystem>)
7
- #define GHC_USE_STD_FS
8
- #include < filesystem>
9
- namespace fs = std::filesystem;
10
- #endif
11
- #endif
12
- #ifndef GHC_USE_STD_FS
13
- #include < ghc/filesystem.hpp>
14
- namespace fs = ghc::filesystem;
15
- #endif
5
+ #include < ghc/fs_std.hpp>
16
6
17
7
int main (int argc, char * argv[])
18
8
{
You can’t perform that action at this time.
0 commit comments