Skip to content

Commit 005fecd

Browse files
committed
Fix inttypes inclusion
__STDC_FORMAT_MACROS needs to be added for format specifiers like PRId32 IAR/ARMCC do not define it
1 parent 55380c6 commit 005fecd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

main.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717

1818
#include "psa/crypto.h"
1919
#include <string.h>
20+
#ifndef __STDC_FORMAT_MACROS
21+
#define __STDC_FORMAT_MACROS
22+
#endif
2023
#include <inttypes.h>
2124

2225
#if defined(MBEDTLS_PLATFORM_C)

0 commit comments

Comments
 (0)