Files
openharmony_kernel_liteos_m/kal/posix/include/stdbool.h
caoruihong d3e54ea9aa Description: add posix api header files from musl
CommitID:70a1d0d4761c478b6b33c3eb29af254a445ada74
2021-01-22 16:32:15 +08:00

20 lines
256 B
C

#ifndef _STDBOOL_H
#define _STDBOOL_H
#ifdef __ICCARM__ /* for iar */
#include_next <stdbool.h>
#else
#ifndef __cplusplus
#define true 1
#define false 0
#define bool _Bool
#endif
#define __bool_true_false_are_defined 1
#endif /* __ICCARM__ */
#endif