mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-08 12:50:52 +00:00
btstack_bool: fix warning
This commit is contained in:
parent
37e014a7ac
commit
a2c1e37ed4
@ -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 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user