mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-03 10:20:18 +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))
|
#define UNUSED(x) (void)(sizeof(x))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#if !defined(__cplusplus)
|
||||||
|
|
||||||
//
|
//
|
||||||
// Check for C99
|
// Check for C99
|
||||||
// see: https://sourceforge.net/p/predef/wiki/Standards/
|
// see: https://sourceforge.net/p/predef/wiki/Standards/
|
||||||
@ -75,6 +78,8 @@
|
|||||||
#define true 1
|
#define true 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
// TYPES
|
// TYPES
|
||||||
|
|
||||||
// packet handler
|
// packet handler
|
||||||
|
Loading…
x
Reference in New Issue
Block a user