mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-01 04:20:33 +00:00
btstack_defines: avoid defining bool for C++
This commit is contained in:
parent
df4fb5ac36
commit
fa4d4f9b27
@ -52,6 +52,9 @@
|
||||
#define UNUSED(x) (void)(sizeof(x))
|
||||
#endif
|
||||
|
||||
|
||||
#if !defined(__cplusplus)
|
||||
|
||||
//
|
||||
// Check for C99
|
||||
// see: https://sourceforge.net/p/predef/wiki/Standards/
|
||||
@ -75,6 +78,8 @@
|
||||
#define true 1
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
// TYPES
|
||||
|
||||
// packet handler
|
||||
|
Loading…
x
Reference in New Issue
Block a user