diff --git a/sys/sys/qmath.h b/sys/sys/qmath.h index f5af18e0931e..d4f015c1efc3 100644 --- a/sys/sys/qmath.h +++ b/sys/sys/qmath.h @@ -58,7 +58,7 @@ typedef uint64_t u64q_t; typedef s64q_t smaxq_t; typedef u64q_t umaxq_t; -#if defined(__GNUC__) +#if defined(__GNUC__) && !defined(__clang__) /* Ancient GCC hack to de-const, remove when GCC4 is removed. */ #define Q_BT(q) __typeof(1 * q) #else