1*5c90c05cSAndroid Build Coastguard Worker // Formatting library for C++ - tests of formatters for standard library types 2*5c90c05cSAndroid Build Coastguard Worker // 3*5c90c05cSAndroid Build Coastguard Worker // Copyright (c) 2012 - present, Victor Zverovich 4*5c90c05cSAndroid Build Coastguard Worker // All rights reserved. 5*5c90c05cSAndroid Build Coastguard Worker // 6*5c90c05cSAndroid Build Coastguard Worker // For the license information refer to format.h. 7*5c90c05cSAndroid Build Coastguard Worker 8*5c90c05cSAndroid Build Coastguard Worker #include <exception> // _GLIBCXX_RELEASE & _LIBCPP_VERSION 9*5c90c05cSAndroid Build Coastguard Worker 10*5c90c05cSAndroid Build Coastguard Worker #if defined(_GLIBCXX_RELEASE) && _GLIBCXX_RELEASE == 8 11*5c90c05cSAndroid Build Coastguard Worker # error libfound "stdc++fs" 12*5c90c05cSAndroid Build Coastguard Worker #elif !defined(__apple_build_version__) && defined(_LIBCPP_VERSION) && \ 13*5c90c05cSAndroid Build Coastguard Worker _LIBCPP_VERSION >= 7000 && _LIBCPP_VERSION < 9000 14*5c90c05cSAndroid Build Coastguard Worker # error libfound "c++fs" 15*5c90c05cSAndroid Build Coastguard Worker #else 16*5c90c05cSAndroid Build Coastguard Worker // none if std::filesystem does not require additional libraries 17*5c90c05cSAndroid Build Coastguard Worker # error libfound "" 18*5c90c05cSAndroid Build Coastguard Worker #endif 19