From 85dc6cd001934b1d79e0caed513cd48cb598f4f2 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 23 Mar 2024 14:04:18 +0100 Subject: b --- compat/prelude.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compat/prelude.hpp b/compat/prelude.hpp index 0aad3dbd..595e681c 100644 --- a/compat/prelude.hpp +++ b/compat/prelude.hpp @@ -1,7 +1,7 @@ #pragma once -#if defined __clang__ && defined __CLION_IDE__ >= 20240100 -#define CORRADE_ASSUME __attribute__((assume(condition))) +#if defined __CLION_IDE__ && __CLION_IDE__ >= 20240100 && defined __GNUG__ +#define CORRADE_ASSUME(condition) __attribute__((assume(condition))) #endif #include "integer-types.hpp" -- cgit v1.2.3