blob: 9915ee1e1783d0c2c8a94b90d01de03ee351b001 [file] [log] [blame]
James Feistf6150402019-01-08 10:36:20 -08001// this file splices filesystem in depending on the implementation
2
3#if __has_include(<filesystem>)
James Feist673eda62019-01-10 08:53:18 -08004#include <filesystem>
James Feistf6150402019-01-08 10:36:20 -08005#elif __has_include(<experimental/filesystem>)
6#include <experimental/filesystem>
7namespace std
8{
9// splice experimental::filesystem into std
10namespace filesystem = std::experimental::filesystem;
11} // namespace std
12#else
13#error filesystem not available
James Feist673eda62019-01-10 08:53:18 -080014#endif