1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-10-27 12:15:33 +03:00

Add std PRI macro for printing milliseconds

Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
Jerry Yu
2023-02-03 13:15:09 +08:00
parent 67bf677bad
commit 041c8c10f9
2 changed files with 2 additions and 1 deletions

View File

@@ -43,6 +43,7 @@ typedef time_t mbedtls_time_t;
typedef MBEDTLS_PLATFORM_MS_TIME_TYPE_MACRO mbedtls_ms_time_t;
#else
#include <stdint.h>
#include <inttypes.h>
typedef int64_t mbedtls_ms_time_t;
#endif /* MBEDTLS_PLATFORM_MS_TIME_TYPE_MACRO */