mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-20 19:45:12 +00:00
AK: Use constexpr instead of consteval on OpenBSD
This commit is contained in:
parent
e5dea00bb1
commit
c31b547fae
Notes:
sideshowbarker
2024-07-19 16:57:26 +09:00
Author: https://github.com/ghost Commit: https://github.com/SerenityOS/serenity/commit/c31b547fae2 Pull-request: https://github.com/SerenityOS/serenity/pull/17178 Reviewed-by: https://github.com/ADKaster ✅ Reviewed-by: https://github.com/trflynn89
1 changed files with 2 additions and 2 deletions
|
@ -28,8 +28,8 @@ namespace Detail {
|
|||
class StringData;
|
||||
}
|
||||
|
||||
// FIXME: Remove this when Apple Clang fully supports consteval.
|
||||
#if defined(AK_OS_MACOS)
|
||||
// FIXME: Remove this when Apple Clang and OpenBSD Clang fully supports consteval.
|
||||
#if defined(AK_OS_MACOS) || defined(AK_OS_OPENBSD)
|
||||
# define AK_SHORT_STRING_CONSTEVAL constexpr
|
||||
#else
|
||||
# define AK_SHORT_STRING_CONSTEVAL consteval
|
||||
|
|
Loading…
Add table
Reference in a new issue