diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2017-01-10 07:48:37 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2017-01-10 07:49:55 -0800 |
commit | fa0a2b4e7c81f57aecc1d94df00588a4dd5c281d (patch) | |
tree | 31408852501056452a337677c8f5b80fd3c24e7c /lib/intprops.h | |
parent | 560a384038845e37228226313eccfc8d70132553 (diff) | |
download | emacs-fa0a2b4e7c81f57aecc1d94df00588a4dd5c281d.tar.gz |
Merge from gnulib
This incorporates:
2017-01-09 maint: time stamp -> timestamp
2017-01-07 stdioext: Port to Minix 3.2 and newer
2017-01-06 glob, intprops, xalloc: work around Clang bug
2017-01-02 revert copyright-year change to synced files
* doc/misc/texinfo.tex, lib/fpending.c, lib/intprops.h, lib/mktime.c:
* lib/stat-time.h, lib/stdio-impl.h, lib/time.in.h, lib/timespec.h:
* lib/utimens.c, lib/xalloc-oversized.h:
Copy from gnulib.
Diffstat (limited to 'lib/intprops.h')
-rw-r--r-- | lib/intprops.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/intprops.h b/lib/intprops.h index e0c178fea8e..85ed61f8d8c 100644 --- a/lib/intprops.h +++ b/lib/intprops.h @@ -23,10 +23,6 @@ #include <limits.h> #include <verify.h> -#ifndef __has_builtin -# define __has_builtin(x) 0 -#endif - /* Return a value with the common real type of E and V and the value of V. */ #define _GL_INT_CONVERT(e, v) (0 * (e) + (v)) @@ -241,12 +237,10 @@ verify (TYPE_WIDTH (unsigned int) == UINT_WIDTH); : (max) >> (b) < (a)) /* True if __builtin_add_overflow (A, B, P) works when P is non-null. */ -#define _GL_HAS_BUILTIN_OVERFLOW \ - (5 <= __GNUC__ || __has_builtin (__builtin_add_overflow)) +#define _GL_HAS_BUILTIN_OVERFLOW (5 <= __GNUC__) /* True if __builtin_add_overflow_p (A, B, C) works. */ -#define _GL_HAS_BUILTIN_OVERFLOW_P \ - (7 <= __GNUC__ || __has_builtin (__builtin_add_overflow_p)) +#define _GL_HAS_BUILTIN_OVERFLOW_P (7 <= __GNUC__) /* The _GL*_OVERFLOW macros have the same restrictions as the *_RANGE_OVERFLOW macros, except that they do not assume that operands |