diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-23 14:04:18 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-23 14:04:18 +0100 |
commit | 85dc6cd001934b1d79e0caed513cd48cb598f4f2 (patch) | |
tree | 094ecc364db4488ffc8d9f46e279bc55b9553bef | |
parent | 689c4bf27316c6271bb922d4f64436121cfe72bc (diff) |
b
-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" |