diff --git a/AK/String.h b/AK/String.h index 38873c614c..aa9f570f41 100644 --- a/AK/String.h +++ b/AK/String.h @@ -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