Skip to content

Commit 6a72ab8

Browse files
authored
Merge pull request #192 from shaglund/dev
Don't include experimental/optional if on Apple clang 11
2 parents ba4f6b7 + dba3d2b commit 6a72ab8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hdr/sqlite_modern_cpp/type_wrapper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#ifdef __has_include
1313
#if __cplusplus > 201402 && __has_include(<optional>)
1414
#define MODERN_SQLITE_STD_OPTIONAL_SUPPORT
15-
#elif __has_include(<experimental/optional>)
15+
#elif __has_include(<experimental/optional>) && __apple_build_version__ < 11000000
1616
#define MODERN_SQLITE_EXPERIMENTAL_OPTIONAL_SUPPORT
1717
#endif
1818
#endif

0 commit comments

Comments
 (0)