mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:17:44 +00:00
AK: Enable consteval workaround for Android NDK
Android isn't shipping clang-15 yet in any NDK, so use the existing workaround on that platform.
This commit is contained in:
parent
73a6f2e9ed
commit
3533d3e452
2 changed files with 4 additions and 2 deletions
|
@ -31,7 +31,8 @@ class StringData;
|
|||
|
||||
// FIXME: Remove this when OpenBSD Clang fully supports consteval.
|
||||
// And once oss-fuzz updates to clang >15.
|
||||
#if defined(AK_OS_OPENBSD) || defined(OSS_FUZZ)
|
||||
// And once Android ships an NDK with clang >14
|
||||
#if defined(AK_OS_OPENBSD) || defined(OSS_FUZZ) || defined(AK_OS_ANDROID)
|
||||
# define AK_SHORT_STRING_CONSTEVAL constexpr
|
||||
#else
|
||||
# define AK_SHORT_STRING_CONSTEVAL consteval
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue