freestnd-c-hdrs-0bsd/stdbool.h

21 lines
310 B
C
Raw Normal View History

2023-03-23 21:24:51 +03:00
#if !defined(_STDBOOL_H) || defined(__LIBC_CXX_WRAP)
#if !defined(__LIBC_CXX_WRAP)
2023-03-16 01:08:11 +03:00
#define _STDBOOL_H 1
#endif
#ifndef __STDBOOL_H_MACROS
#define __STDBOOL_H_MACROS 1
2022-02-15 07:46:37 +03:00
2023-03-16 00:50:24 +03:00
#ifndef __cplusplus
# define bool _Bool
2022-02-15 07:46:37 +03:00
2023-03-16 00:50:24 +03:00
# define true 1
# define false 0
#endif
2022-02-15 07:46:37 +03:00
#define __bool_true_false_are_defined 1
#endif
2023-03-16 00:50:24 +03:00
#endif