diff options
-rw-r--r-- | compat/prelude.hpp | 4 |
1 files 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" |