btstack_bool: fix warning

This commit is contained in:
Matthias Ringwald 2022-04-28 16:47:39 +02:00
parent 37e014a7ac
commit a2c1e37ed4

View File

@ -65,10 +65,16 @@
#else /* PREDEF_STANDARD_C_1999 */
// backport for pre-c99 compilers
// backport for pre-c99 compilers or incorrect detection
#ifndef bool
#define bool unsigned char
#endif
#ifndef false
#define false 0
#endif
#ifndef true
#define true 1
#endif
#endif /* PREDEF_STANDARD_C_1999 */