mirror of
https://github.com/FreeRTOS/coreMQTT
synced 2025-05-13 13:49:41 +08:00
31 lines
819 B
Plaintext
31 lines
819 B
Plaintext
#ifndef _STDBOOL_H
|
|
#define _STDBOOL_H
|
|
|
|
/*******************************************************************************
|
|
* This file contains the definitions specified in stdbool.h. It is provided to
|
|
* allow the library to be built using compilers that do not provide their own
|
|
* stdbool.h defintion.
|
|
*
|
|
* To use this file:
|
|
*
|
|
* 1) Copy this file into a directory that is in your compiler's include path.
|
|
* The directory must be part of the include path for system header files,
|
|
* for example passed using gcc's "-I" or "-isystem" options.
|
|
*
|
|
* 2) Rename the copied file stdbool.h.
|
|
*
|
|
*/
|
|
|
|
#ifndef __cplusplus
|
|
|
|
/* _Bool was introduced in C99. */
|
|
#define bool int
|
|
#define false 0
|
|
#define true 1
|
|
|
|
#endif
|
|
|
|
#define __bool_true_false_are_defined 1
|
|
|
|
#endif /* _STDBOOL_H */
|