You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
724 B
28 lines
724 B
5 years ago
|
/* stdbool.h: ISO/IEC 9899:1999 (C99), section 7.16 */
|
||
|
|
||
|
/* Copyright (C) ARM Ltd., 2002
|
||
|
* All rights reserved
|
||
|
* RCS $Revision: 177844 $
|
||
|
* Checkin $Date: 2012-11-21 11:51:12 +0000 (Wed, 21 Nov 2012) $
|
||
|
* Revising $Author: drodgman $
|
||
|
*/
|
||
|
|
||
|
#ifndef __bool_true_false_are_defined
|
||
|
#define __bool_true_false_are_defined 1
|
||
|
#define __ARMCLIB_VERSION 5050106
|
||
|
|
||
|
#ifndef __cplusplus /* In C++, 'bool', 'true' and 'false' and keywords */
|
||
|
#define bool _Bool
|
||
|
#define true 1
|
||
|
#define false 0
|
||
|
#else
|
||
|
#ifdef __GNUC__
|
||
|
/* GNU C++ supports direct inclusion of stdbool.h to provide C99
|
||
|
compatibility by defining _Bool */
|
||
|
#define _Bool bool
|
||
|
#endif
|
||
|
#endif
|
||
|
|
||
|
#endif /* __bool_true_false_are_defined */
|
||
|
|