aboutsummaryrefslogtreecommitdiffstats
path: root/support/intprops.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2017-06-18 22:32:21 +0300
committerArnold D. Robbins <arnold@skeeve.com>2017-06-18 22:32:21 +0300
commit9ccddb999bb2d79c261702f789deb9371090a4ec (patch)
tree3ee11d8965d9a1ce0991baacb2a03523d21745fd /support/intprops.h
parent49f5a940d4290ee0ba0b4dd706237fbc8434b1d2 (diff)
parent4264c894681d11d4a5ce694aa8040223726fad1e (diff)
downloadegawk-9ccddb999bb2d79c261702f789deb9371090a4ec.tar.gz
egawk-9ccddb999bb2d79c261702f789deb9371090a4ec.tar.bz2
egawk-9ccddb999bb2d79c261702f789deb9371090a4ec.zip
Merge branch 'master' into feature/api-mpfr
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__)