Nico Weber | cc89063 | 2019-08-21 00:14:12 +0000 | [diff] [blame^] | 1 | #ifndef TEST_SUPPORT_FILESYSTEM_INCLUDE_H |
| 2 | #define TEST_SUPPORT_FILESYSTEM_INCLUDE_H |
Eric Fiselier | 19aae8f | 2018-03-26 05:46:57 +0000 | [diff] [blame] | 3 | |
Eric Fiselier | 19aae8f | 2018-03-26 05:46:57 +0000 | [diff] [blame] | 4 | #include <filesystem> |
Eric Fiselier | 998a5c8 | 2018-07-27 03:07:09 +0000 | [diff] [blame] | 5 | #include "test_macros.h" |
| 6 | |
| 7 | #if defined(_LIBCPP_VERSION) && TEST_STD_VER < 17 |
| 8 | namespace fs = std::__fs::filesystem; |
Eric Fiselier | 19aae8f | 2018-03-26 05:46:57 +0000 | [diff] [blame] | 9 | #else |
Eric Fiselier | 998a5c8 | 2018-07-27 03:07:09 +0000 | [diff] [blame] | 10 | namespace fs = std::filesystem; |
Eric Fiselier | 19aae8f | 2018-03-26 05:46:57 +0000 | [diff] [blame] | 11 | #endif |
| 12 | |
| 13 | #endif |