From 175109d1961ac8b6d0991dde0b5cbdef39fe41f3 Mon Sep 17 00:00:00 2001 From: lly Date: Thu, 26 Mar 2020 11:01:23 +0800 Subject: [PATCH] ble_mesh: Add PRIu64 & PRIx64 in mesh_types.h --- .../bt/esp_ble_mesh/mesh_common/include/mesh_types.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/components/bt/esp_ble_mesh/mesh_common/include/mesh_types.h b/components/bt/esp_ble_mesh/mesh_common/include/mesh_types.h index 66df1ec75..5a189630c 100644 --- a/components/bt/esp_ble_mesh/mesh_common/include/mesh_types.h +++ b/components/bt/esp_ble_mesh/mesh_common/include/mesh_types.h @@ -10,6 +10,7 @@ #include #include +#include #ifdef __cplusplus extern "C" { @@ -39,6 +40,14 @@ typedef int bt_mesh_atomic_t; #define true 1 #endif +#ifndef PRIu64 +#define PRIu64 "llu" +#endif + +#ifndef PRIx64 +#define PRIx64 "llx" +#endif + #ifdef __cplusplus } #endif