ble_mesh: Add PRIu64 & PRIx64 in mesh_types.h

This commit is contained in:
lly 2020-03-26 11:01:23 +08:00
parent 61d376109c
commit 175109d196

View file

@ -10,6 +10,7 @@
#include <stdint.h>
#include <stdbool.h>
#include <inttypes.h>
#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