diff --git a/lib/intprops.h b/lib/intprops.h index 2052ceec0..6099664e3 100644 --- a/lib/intprops.h +++ b/lib/intprops.h @@ -226,7 +226,7 @@ #endif /* True if __builtin_add_overflow_p (A, B, C) works. */ -#define _GL_HAS_BUILTIN_OVERFLOW_P (7 <= __GNUC__) +#define _GL_HAS_BUILTIN_OVERFLOW_P (7 <= __GNUC__ && !defined __clang__) /* The _GL*_OVERFLOW macros have the same restrictions as the *_RANGE_OVERFLOW macros, except that they do not assume that operands