File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 55#include < memory>
66#include < vector>
77#ifdef __has_include
8- #if __cplusplus >= 201703 && __has_include(<string_view>)
8+ #if ( __cplusplus >= 201703 || _MSVC_LANG >= 201703) && __has_include(<string_view>)
99#define MODERN_SQLITE_STRINGVIEW_SUPPORT
1010#endif
1111#endif
1212#ifdef __has_include
13- #if __cplusplus > 201402 && __has_include(<optional>)
13+ #if ( __cplusplus > 201402 || _MSCV_LANG > 201402) && __has_include(<optional>)
1414#define MODERN_SQLITE_STD_OPTIONAL_SUPPORT
1515#elif __has_include(<experimental/optional>) && __apple_build_version__ < 11000000
1616#define MODERN_SQLITE_EXPERIMENTAL_OPTIONAL_SUPPORT
1717#endif
1818#endif
1919
2020#ifdef __has_include
21- #if __cplusplus > 201402 && __has_include(<variant>)
21+ #if ( __cplusplus > 201402 || _MSVC_LANG > 201402) && __has_include(<variant>)
2222#define MODERN_SQLITE_STD_VARIANT_SUPPORT
2323#endif
2424#endif
You can’t perform that action at this time.
0 commit comments