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

View File

@ -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