stdbool.h 1.1 KB
Newer Older
1
/*****************************************************************************\
S
Shengliang Guan 已提交
2 3 4 5 6 7 8 9 10 11
*                                                                             *
*   Filename:	    stdbool.h						      *
*                                                                             *
*   Description:    Standard boolean definitions			      *
*                                                                             *
*   Notes:	    Set standard values. May need to be adapted for C++?      *
*                                                                             *
*   History:								      *
*    2012-10-17 JFL Created this file.					      *
*									      *
12
*         Copyright 2016 Hewlett Packard Enterprise Development LP          *
S
Shengliang Guan 已提交
13 14 15 16 17 18 19 20 21 22 23 24 25
* Licensed under the Apache 2.0 license - www.apache.org/licenses/LICENSE-2.0 *
\*****************************************************************************/

#ifndef _STDBOOL_H
#define _STDBOOL_H

/* #define bool int /* Spec says _Bool */
typedef int bool;
#define true 1
#define false 0
#define __bool_true_false_are_defined 1

#endif