aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPaul Eggert2017-05-25 00:13:14 -0700
committerPaul Eggert2017-05-25 00:13:33 -0700
commit9ebc2bbe3c1efea79810261533791bdf48a63760 (patch)
tree7173c08cfaa7ff8e69ef6258835a7c12a19aefbe /lib
parentb2ec91db89739153b39d10c15701b57aae7e251c (diff)
downloademacs-9ebc2bbe3c1efea79810261533791bdf48a63760.tar.gz
emacs-9ebc2bbe3c1efea79810261533791bdf48a63760.zip
Merge from gnulib
This incorporates: 2017-05-25 port to recent icc * lib/intprops.h: Copy from gnulib.
Diffstat (limited to 'lib')
-rw-r--r--lib/intprops.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/intprops.h b/lib/intprops.h
index 8f5ad545154..28f43613fe2 100644
--- a/lib/intprops.h
+++ b/lib/intprops.h
@@ -219,7 +219,11 @@
219 : (max) >> (b) < (a)) 219 : (max) >> (b) < (a))
220 220
221/* True if __builtin_add_overflow (A, B, P) works when P is non-null. */ 221/* True if __builtin_add_overflow (A, B, P) works when P is non-null. */
222#define _GL_HAS_BUILTIN_OVERFLOW (5 <= __GNUC__) 222#if 5 <= __GNUC__ && !defined __ICC
223# define _GL_HAS_BUILTIN_OVERFLOW 1
224#else
225# define _GL_HAS_BUILTIN_OVERFLOW 0
226#endif
223 227
224/* True if __builtin_add_overflow_p (A, B, C) works. */ 228/* True if __builtin_add_overflow_p (A, B, C) works. */
225#define _GL_HAS_BUILTIN_OVERFLOW_P (7 <= __GNUC__) 229#define _GL_HAS_BUILTIN_OVERFLOW_P (7 <= __GNUC__)