1
0
mirror of https://github.com/bluekitchen/btstack.git synced 2025-04-02 16:20:31 +00:00

btstack_defines: avoid defining bool for C++

This commit is contained in:
Matthias Ringwald 2019-10-23 15:04:15 +02:00
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