diff --git a/AK/CheckedFormatString.h b/AK/CheckedFormatString.h index 5113691cff8..d0dc4e81e84 100644 --- a/AK/CheckedFormatString.h +++ b/AK/CheckedFormatString.h @@ -15,7 +15,7 @@ #ifdef ENABLE_COMPILETIME_FORMAT_CHECK // FIXME: Seems like clang doesn't like calling 'consteval' functions inside 'consteval' functions quite the same way as GCC does, // it seems to entirely forget that it accepted that parameters to a 'consteval' function to begin with. -# if defined(__clang__) || defined(__CLION_IDE_) +# if defined(__clang__) || defined(__CLION_IDE__) || defined(__CLION_IDE_) # undef ENABLE_COMPILETIME_FORMAT_CHECK # endif #endif diff --git a/AK/Platform.h b/AK/Platform.h index b1534436d5d..d6e6c689e1e 100644 --- a/AK/Platform.h +++ b/AK/Platform.h @@ -35,7 +35,7 @@ # define VALIDATE_IS_X86() static_assert(false, "Trying to include x86 only header on non x86 platform"); #endif -#if !defined(__clang__) && !defined(__CLION_IDE_) +#if !defined(__clang__) && !defined(__CLION_IDE_) && !defined(__CLION_IDE__) # define AK_HAS_CONDITIONALLY_TRIVIAL #endif