iterative-solver 0.0
fs.h
1#ifndef MOLPRO_DEPENDENCIES_LINEARALGEBRA_SRC_MOLPRO_LINALG_ARRAY_UTIL_FS_H_
2#define MOLPRO_DEPENDENCIES_LINEARALGEBRA_SRC_MOLPRO_LINALG_ARRAY_UTIL_FS_H_
3#if ((defined(_MSVC_LANG) && _MSVC_LANG >= 201703L) || (defined(__cplusplus) && __cplusplus >= 201703L)) && \
4 defined(__has_include)
5
6#if __has_include(<filesystem>) && (!defined(__MAC_OS_X_VERSION_MIN_REQUIRED) || __MAC_OS_X_VERSION_MIN_REQUIRED >= 101500) \
7&& ((!defined(__GNUC__) || defined(__llvm__) || defined(__INTEL_COMPILER) || __GNUC__ >= 9))
8#define GHC_USE_STD_FS
9#include <filesystem>
10namespace fs = std::filesystem;
11#endif
12#endif
13#ifndef GHC_USE_STD_FS
14#include "../ghc/filesystem.h"
15namespace fs = ghc::filesystem;
16#endif
17
18#endif // MOLPRO_DEPENDENCIES_LINEARALGEBRA_SRC_MOLPRO_LINALG_ARRAY_UTIL_FS_H_