00001 /* Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc. 00002 00003 This file is part of GCC. 00004 00005 GCC is free software; you can redistribute it and/or modify 00006 it under the terms of the GNU General Public License as published by 00007 the Free Software Foundation; either version 2, or (at your option) 00008 any later version. 00009 00010 GCC is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 GNU General Public License for more details. 00014 00015 You should have received a copy of the GNU General Public License 00016 along with GCC; see the file COPYING. If not, write to 00017 the Free Software Foundation, 51 Franklin Street, Fifth Floor, 00018 Boston, MA 02110-1301, USA. */ 00019 00020 /* As a special exception, if you include this header file into source 00021 files compiled by GCC, this header file does not by itself cause 00022 the resulting executable to be covered by the GNU General Public 00023 License. This exception does not however invalidate any other 00024 reasons why the executable file might be covered by the GNU General 00025 Public License. */ 00026 00027 /* 00028 * ISO C Standard: 7.16 Boolean type and values <stdbool.h> 00029 */ 00030 00031 #ifndef _STDBOOL_H 00032 #define _STDBOOL_H 00033 00034 #ifndef __cplusplus 00035 00036 #define bool _Bool 00037 #define true 1 00038 #define false 0 00039 00040 #else /* __cplusplus */ 00041 00042 /* Supporting <stdbool.h> in C++ is a GCC extension. */ 00043 #define _Bool bool 00044 #define bool bool 00045 #define false false 00046 #define true true 00047 00048 #endif /* __cplusplus */ 00049 00050 /* Signal that all the definitions are present. */ 00051 #define __bool_true_false_are_defined 1 00052 00053 #endif /* stdbool.h */
1.5.6