James Feist | f615040 | 2019-01-08 10:36:20 -0800 | [diff] [blame] | 1 | // this file splices filesystem in depending on the implementation |
2 | |||||
3 | #if __has_include(<filesystem>) | ||||
4 | #include <filesystem.hpp> | ||||
5 | #elif __has_include(<experimental/filesystem>) | ||||
6 | #include <experimental/filesystem> | ||||
7 | namespace std | ||||
8 | { | ||||
9 | // splice experimental::filesystem into std | ||||
10 | namespace filesystem = std::experimental::filesystem; | ||||
11 | } // namespace std | ||||
12 | #else | ||||
13 | #error filesystem not available | ||||
14 | #endif |