1 --- /dev/null 2022-01-08 18:09:02.763467091 +0100
2 +++ dahdi-linux-3.1.0/drivers/dahdi/stdbool.h 2022-01-15 11:34:39.985002741 +0100
4 +/* Copyright (C) 1998-2021 Free Software Foundation, Inc.
6 +This file is part of GCC.
8 +GCC is free software; you can redistribute it and/or modify
9 +it under the terms of the GNU General Public License as published by
10 +the Free Software Foundation; either version 3, or (at your option)
13 +GCC is distributed in the hope that it will be useful,
14 +but WITHOUT ANY WARRANTY; without even the implied warranty of
15 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 +GNU General Public License for more details.
18 +Under Section 7 of GPL version 3, you are granted additional
19 +permissions described in the GCC Runtime Library Exception, version
20 +3.1, as published by the Free Software Foundation.
22 +You should have received a copy of the GNU General Public License and
23 +a copy of the GCC Runtime Library Exception along with this program;
24 +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
25 +<http://www.gnu.org/licenses/>. */
28 + * ISO C Standard: 7.16 Boolean type and values <stdbool.h>
37 +#if defined __STDC_VERSION__ && __STDC_VERSION__ > 201710L
38 +#define true ((_Bool)+1u)
39 +#define false ((_Bool)+0u)
45 +#else /* __cplusplus */
47 +/* Supporting _Bool in C++ is a GCC extension. */
50 +#endif /* __cplusplus */
52 +/* Signal that all the definitions are present. */
53 +#define __bool_true_false_are_defined 1
55 +#endif /* stdbool.h */