mirror of
https://github.com/cuberite/SQLiteCpp.git
synced 2025-08-07 11:16:11 -04:00
Fix compilation issues earlier than iOS 13 (#359)
Co-authored-by: 叶 永平 <yyp@xieyongpingdeMacBook-Pro.local>
This commit is contained in:
parent
9158225e5d
commit
bfb8e6a017
@ -21,7 +21,10 @@
|
|||||||
#define SQLITECPP_HAVE_STD_FILESYSTEM
|
#define SQLITECPP_HAVE_STD_FILESYSTEM
|
||||||
#endif
|
#endif
|
||||||
#elif defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED < 101500
|
#elif defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED < 101500
|
||||||
// macOS clang won't less us touch std::filesystem if we're targetting earlier than 10.15
|
// macOS clang won't let us touch std::filesystem if we're targetting earlier than 10.15
|
||||||
|
#elif defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && defined(__IPHONE_13_0) && \
|
||||||
|
__IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_13_0
|
||||||
|
// build for iOS clang won't let us touch std::filesystem if we're targetting earlier than iOS 13
|
||||||
#else
|
#else
|
||||||
#define SQLITECPP_HAVE_STD_FILESYSTEM
|
#define SQLITECPP_HAVE_STD_FILESYSTEM
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user