mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:17:35 +00:00
AK: Use constexpr instead of consteval on OpenBSD
This commit is contained in:
parent
e5dea00bb1
commit
c31b547fae
1 changed files with 2 additions and 2 deletions
|
@ -28,8 +28,8 @@ namespace Detail {
|
||||||
class StringData;
|
class StringData;
|
||||||
}
|
}
|
||||||
|
|
||||||
// FIXME: Remove this when Apple Clang fully supports consteval.
|
// FIXME: Remove this when Apple Clang and OpenBSD Clang fully supports consteval.
|
||||||
#if defined(AK_OS_MACOS)
|
#if defined(AK_OS_MACOS) || defined(AK_OS_OPENBSD)
|
||||||
# define AK_SHORT_STRING_CONSTEVAL constexpr
|
# define AK_SHORT_STRING_CONSTEVAL constexpr
|
||||||
#else
|
#else
|
||||||
# define AK_SHORT_STRING_CONSTEVAL consteval
|
# define AK_SHORT_STRING_CONSTEVAL consteval
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue