PIPS
boolean.h
Go to the documentation of this file.
1 /*
2 
3  $Id: boolean.h 1641 2016-03-02 08:20:19Z coelho $
4 
5  Copyright 1989-2016 MINES ParisTech
6 
7  This file is part of Linear/C3 Library.
8 
9  Linear/C3 Library is free software: you can redistribute it and/or modify it
10  under the terms of the GNU Lesser General Public License as published by
11  the Free Software Foundation, either version 3 of the License, or
12  any later version.
13 
14  Linear/C3 Library is distributed in the hope that it will be useful, but WITHOUT ANY
15  WARRANTY; without even the implied warranty of MERCHANTABILITY or
16  FITNESS FOR A PARTICULAR PURPOSE.
17 
18  See the GNU Lesser General Public License for more details.
19 
20  You should have received a copy of the GNU Lesser General Public License
21  along with Linear/C3 Library. If not, see <http://www.gnu.org/licenses/>.
22 
23 */
24 
25 #ifndef BOOLEAN_INCLUDED
26 #define BOOLEAN_INCLUDED
27 
28 #include <stdint.h>
29 
30 #ifdef bool
31  #error newgen header not compatible with stdbool.h and linear header have to be compatible with newgen
32 #endif
33 
34 typedef int bool; /* we cannot use an enum or stdbool because we need to be compatible with newgen */
35 
36 #define false 0
37 #define true 1
38 
39 #endif /* BOOLEAN_INCLUDED */
int bool
Definition: boolean.h:34