diff options
author | Clint Adams <clint@debian.org> | 2017-02-04 10:14:44 -0500 |
---|---|---|
committer | Clint Adams <clint@debian.org> | 2017-02-04 10:29:57 -0500 |
commit | a2a4f555c44abda322dabcdf570401434caa52f2 (patch) | |
tree | 0ecaeee14d787bf89c309645f97dfa9b23be79ac /lib/intprops.h | |
parent | 815ec1bf6545c1b2650a467af09b61213ef4895e (diff) |
New upstream version 4.4
Diffstat (limited to 'lib/intprops.h')
-rw-r--r-- | lib/intprops.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/lib/intprops.h b/lib/intprops.h index 8add5de..85ed61f 100644 --- a/lib/intprops.h +++ b/lib/intprops.h @@ -1,6 +1,6 @@ /* intprops.h -- properties of integer types - Copyright (C) 2001-2016 Free Software Foundation, Inc. + Copyright (C) 2001-2017 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published @@ -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 |