mirror of
https://github.com/ceph/ceph
synced 2024-12-20 02:13:04 +00:00
14 lines
320 B
C++
14 lines
320 B
C++
|
#if __has_include(<filesystem>)
|
||
|
#include <filesystem>
|
||
|
namespace fs = std::filesystem;
|
||
|
#elif __has_include(<experimental/filesystem>)
|
||
|
#include <experimental/filesystem>
|
||
|
namespace fs = std::experimental::filesystem;
|
||
|
#else
|
||
|
#error std::filesystem not available!
|
||
|
#endif
|
||
|
|
||
|
int main() {
|
||
|
[[maybe_unused]] fs::path path("/");
|
||
|
}
|