blob: 9915ee1e1783d0c2c8a94b90d01de03ee351b001 [file] [log] [blame]
James Feistcf3bce62019-01-08 10:07:19 -08001// this file splices filesystem in depending on the implementation
2
3#if __has_include(<filesystem>)
James Feist9e344702019-01-10 08:55:20 -08004#include <filesystem>
James Feistcf3bce62019-01-08 10:07:19 -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 Feist9e344702019-01-10 08:55:20 -080014#endif