diff options
| author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-03-27 21:42:03 +0200 | 
|---|---|---|
| committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-03-27 21:42:03 +0200 | 
| commit | db6f1f397f45ccd3c11d16352ed46a9c1eae3442 (patch) | |
| tree | e0b9334e2637f17696c796ac13b2c39294bf9233 /lib/verify.h | |
| parent | 0250cb64565a7d5238bbc751225d4b0236ef8316 (diff) | |
| parent | 6b73edd95d603e27d55d4905134ac1327d426534 (diff) | |
Merge tag 'upstream/0.9.7'
Upstream version 0.9.7
Diffstat (limited to 'lib/verify.h')
| -rw-r--r-- | lib/verify.h | 25 | 
1 files changed, 17 insertions, 8 deletions
diff --git a/lib/verify.h b/lib/verify.h index db52900e..55e47fe7 100644 --- a/lib/verify.h +++ b/lib/verify.h @@ -1,18 +1,27 @@  /* Compile-time assert-like macros. -   Copyright (C) 2005-2006, 2009-2015 Free Software Foundation, Inc. +   Copyright (C) 2005-2006, 2009-2016 Free Software Foundation, Inc. -   This program is free software: you can redistribute it and/or modify -   it under the terms of the GNU Lesser General Public License as published by -   the Free Software Foundation; either version 3 of the License, or -   (at your option) any later version. +   This program is free software: you can redistribute it and/or +   modify it under the terms of either: +     * the GNU Lesser General Public License as published by the Free +       Software Foundation; either version 3 of the License, or (at your +       option) any later version. + +   or + +     * the GNU General Public License as published by the Free +       Software Foundation; either version 2 of the License, or (at your +       option) any later version. + +   or both in parallel, as here.     This program is distributed in the hope that it will be useful,     but WITHOUT ANY WARRANTY; without even the implied warranty of     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the -   GNU Lesser General Public License for more details. +   GNU General Public License for more details. -   You should have received a copy of the GNU Lesser General Public License +   You should have received a copy of the GNU General Public License     along with this program.  If not, see <http://www.gnu.org/licenses/>.  */  /* Written by Paul Eggert, Bruno Haible, and Jim Meyering.  */ @@ -263,7 +272,7 @@ template <int w>  # define assume(R) ((R) ? (void) 0 : __builtin_unreachable ())  #elif 1200 <= _MSC_VER  # define assume(R) __assume (R) -#elif (defined lint \ +#elif ((defined GCC_LINT || defined lint) \         && (__has_builtin (__builtin_trap) \             || 3 < __GNUC__ + (3 < __GNUC_MINOR__ + (4 <= __GNUC_PATCHLEVEL__))))    /* Doing it this way helps various packages when configured with  | 
