File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 6262#define SQLITE_ORM_CONSTEVAL_SUPPORTED
6363#endif
6464
65+ #if __cpp_char8_t >= 201811L
66+ #define SQLITE_ORM_CHAR8T_SUPPORTED
67+ #endif
68+
6569#if __cpp_aggregate_paren_init >= 201902L
6670#define SQLITE_ORM_AGGREGATE_PAREN_INIT_SUPPORTED
6771#endif
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ namespace sqlite_orm {
5050 struct type_printer <T,
5151 std::enable_if_t <polyfill::conjunction<polyfill::negation<internal::is_any_of<T,
5252 wchar_t ,
53- #ifdef __cpp_char8_t
53+ #ifdef SQLITE_ORM_CHAR8T_SUPPORTED
5454 char8_t ,
5555#endif
5656 char16_t ,
Original file line number Diff line number Diff line change @@ -90,6 +90,10 @@ using std::nullptr_t;
9090#define SQLITE_ORM_CONSTEVAL_SUPPORTED
9191#endif
9292
93+ #if __cpp_char8_t >= 201811L
94+ #define SQLITE_ORM_CHAR8T_SUPPORTED
95+ #endif
96+
9397#if __cpp_aggregate_paren_init >= 201902L
9498#define SQLITE_ORM_AGGREGATE_PAREN_INIT_SUPPORTED
9599#endif
@@ -751,7 +755,7 @@ namespace sqlite_orm {
751755 struct type_printer<T,
752756 std::enable_if_t<polyfill::conjunction<polyfill::negation<internal::is_any_of<T,
753757 wchar_t,
754- #ifdef __cpp_char8_t
758+ #ifdef SQLITE_ORM_CHAR8T_SUPPORTED
755759 char8_t,
756760#endif
757761 char16_t,
You can’t perform that action at this time.
0 commit comments