Skip to content

Commit dba3d2b

Browse files
committed
Don't include experimental/optional if on Apple clang 11
1 parent ba4f6b7 commit dba3d2b

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)