ble_mesh: Do not #define bool when compiling in C++

This commit is contained in:
Nikolaos Strikos 2020-04-11 13:30:19 +02:00 committed by lly
parent 820e0ead52
commit 5bacf6b23d

View file

@ -28,6 +28,7 @@ typedef unsigned long long u64_t;
typedef int bt_mesh_atomic_t; typedef int bt_mesh_atomic_t;
#ifndef __cplusplus
#ifndef bool #ifndef bool
#define bool int8_t #define bool int8_t
#endif #endif
@ -39,6 +40,7 @@ typedef int bt_mesh_atomic_t;
#ifndef true #ifndef true
#define true 1 #define true 1
#endif #endif
#endif
#ifndef PRIu64 #ifndef PRIu64
#define PRIu64 "llu" #define PRIu64 "llu"