File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 1515// c++17: MinGW GCC version > 8
1616// c++17: Visual Studio 2017 version 15.7
1717// c++17: macOS unless targetting compatibility with macOS < 10.15
18+ #ifndef SQLITECPP_HAVE_STD_EXPERIMENTAL_FILESYSTEM
1819#if __cplusplus >= 201703L
1920 #if defined(__MINGW32__) || defined(__MINGW64__)
2021 #if __GNUC__ > 8 // MinGW requires GCC version > 8 for std::filesystem
@@ -36,6 +37,16 @@ __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_13_0
3637#include < filesystem>
3738#endif // c++17 and a suitable compiler
3839
40+ #else // SQLITECPP_HAVE_STD_EXPERIMENTAL_FILESYSTEM
41+
42+ #define SQLITECPP_HAVE_STD_FILESYSTEM
43+ #include < experimental/filesystem>
44+ namespace std {
45+ namespace filesystem = experimental::filesystem;
46+ }
47+
48+ #endif // SQLITECPP_HAVE_STD_EXPERIMENTAL_FILESYSTEM
49+
3950#include < memory>
4051#include < string.h>
4152
You can’t perform that action at this time.
0 commit comments