aboutsummaryrefslogtreecommitdiffstats
path: root/support/intprops.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2017-06-18 22:32:40 +0300
committerArnold D. Robbins <arnold@skeeve.com>2017-06-18 22:32:40 +0300
commit231cb5df34699fd98001e2e124d73da5d2f795f9 (patch)
tree204041cc511e4881babfd02e94841c91f143371e /support/intprops.h
parentd8332ae3fad279790df98ef8422cad916454ea4b (diff)
parent4264c894681d11d4a5ce694aa8040223726fad1e (diff)
downloadegawk-231cb5df34699fd98001e2e124d73da5d2f795f9.tar.gz
egawk-231cb5df34699fd98001e2e124d73da5d2f795f9.tar.bz2
egawk-231cb5df34699fd98001e2e124d73da5d2f795f9.zip
Merge branch 'master' into feature/fix-comments
Diffstat (limited to 'support/intprops.h')
-rw-r--r--support/intprops.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/support/intprops.h b/support/intprops.h
index d8c71206..33a7ec5a 100644
--- a/support/intprops.h
+++ b/support/intprops.h
@@ -219,7 +219,11 @@
: (max) >> (b) < (a))
/* True if __builtin_add_overflow (A, B, P) works when P is non-null. */
-#define _GL_HAS_BUILTIN_OVERFLOW (5 <= __GNUC__)
+#if 5 <= __GNUC__ && !defined __ICC
+# define _GL_HAS_BUILTIN_OVERFLOW 1
+#else
+# define _GL_HAS_BUILTIN_OVERFLOW 0
+#endif
/* True if __builtin_add_overflow_p (A, B, C) works. */
#define _GL_HAS_BUILTIN_OVERFLOW_P (7 <= __GNUC__)