1303231Sdim/* Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc. 2303231Sdim 3303231SdimThis file is part of GCC. 4303231Sdim 5303231SdimGCC is free software; you can redistribute it and/or modify 6303231Sdimit under the terms of the GNU General Public License as published by 7303231Sdimthe Free Software Foundation; either version 2, or (at your option) 8303231Sdimany later version. 9303231Sdim 10303231SdimGCC is distributed in the hope that it will be useful, 11303231Sdimbut WITHOUT ANY WARRANTY; without even the implied warranty of 12303231SdimMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13303231SdimGNU General Public License for more details. 14303231Sdim 15303231SdimYou should have received a copy of the GNU General Public License 16303231Sdimalong with GCC; see the file COPYING. If not, write to 17303231Sdimthe Free Software Foundation, 51 Franklin Street, Fifth Floor, 18303231SdimBoston, MA 02110-1301, USA. */ 19303231Sdim 20303231Sdim/* As a special exception, if you include this header file into source 21303231Sdim files compiled by GCC, this header file does not by itself cause 22303231Sdim the resulting executable to be covered by the GNU General Public 23303231Sdim License. This exception does not however invalidate any other 24303231Sdim reasons why the executable file might be covered by the GNU General 25303231Sdim Public License. */ 26303231Sdim 27303231Sdim/* 28303231Sdim * ISO C Standard: 7.16 Boolean type and values <stdbool.h> 29303231Sdim */ 30303231Sdim 31303231Sdim#ifndef _STDBOOL_H 32303231Sdim#define _STDBOOL_H 33303231Sdim 34303231Sdim#ifndef __cplusplus 35303231Sdim 36303231Sdim#define bool _Bool 37303231Sdim#define true 1 38303231Sdim#define false 0 39303231Sdim 40303231Sdim#else /* __cplusplus */ 41303231Sdim 42303231Sdim/* Supporting <stdbool.h> in C++ is a GCC extension. */ 43303231Sdim#define _Bool bool 44303231Sdim#define bool bool 45303231Sdim#define false false 46303231Sdim#define true true 47303231Sdim 48303231Sdim#endif /* __cplusplus */ 49303231Sdim 50303231Sdim/* Signal that all the definitions are present. */ 51303231Sdim#define __bool_true_false_are_defined 1 52303231Sdim 53303231Sdim#endif /* stdbool.h */ 54303231Sdim