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 15
15
// c++17: MinGW GCC version > 8
16
16
// c++17: Visual Studio 2017 version 15.7
17
17
// c++17: macOS unless targetting compatibility with macOS < 10.15
18
+ #ifndef SQLITECPP_HAVE_STD_EXPERIMENTAL_FILESYSTEM
18
19
#if __cplusplus >= 201703L
19
20
#if defined(__MINGW32__) || defined(__MINGW64__)
20
21
#if __GNUC__ > 8 // MinGW requires GCC version > 8 for std::filesystem
@@ -36,6 +37,16 @@ __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_13_0
36
37
#include < filesystem>
37
38
#endif // c++17 and a suitable compiler
38
39
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
+
39
50
#include < memory>
40
51
#include < string.h>
41
52
You can’t perform that action at this time.
0 commit comments