kopia lustrzana https://github.com/espressif/esp-idf
ble_mesh: Do not #define bool when compiling in C++
rodzic
625bd5eb18
commit
c04cfc2545
|
@ -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"
|
||||
|
|
Ładowanie…
Reference in New Issue