ble_mesh: Add PRIu64 & PRIx64 in mesh_types.h

pull/5307/head
lly 2020-03-26 11:01:23 +08:00 zatwierdzone przez bot
rodzic fb84166cbd
commit 4fd1b2db0e
1 zmienionych plików z 9 dodań i 0 usunięć

Wyświetl plik

@ -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