mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
ble_mesh: Do not #define bool when compiling in C++
This commit is contained in:
parent
6cbc7dc2cd
commit
0d5eb50ce2
@ -28,6 +28,7 @@ typedef unsigned long long u64_t;
|
||||
|
||||
typedef int bt_mesh_atomic_t;
|
||||
|
||||
#ifndef __cplusplus
|
||||
#ifndef bool
|
||||
#define bool int8_t
|
||||
#endif
|
||||
@ -39,6 +40,7 @@ typedef int bt_mesh_atomic_t;
|
||||
#ifndef true
|
||||
#define true 1
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef PRIu64
|
||||
#define PRIu64 "llu"
|
||||
|
Loading…
Reference in New Issue
Block a user