Use sniprintf on newlib platforms.

This commit is contained in:
Gareth McMullin 2015-11-11 12:41:13 -08:00
parent 3f9ea8250a
commit 600f0d27d9
3 changed files with 3 additions and 0 deletions

View File

@ -160,6 +160,7 @@ static inline int platform_hwversion(void)
#define sscanf siscanf
#define sprintf siprintf
#define vasprintf vasiprintf
#define snprintf sniprintf
#endif

View File

@ -138,6 +138,7 @@ extern uint16_t led_idle_run;
#define sscanf siscanf
#define sprintf siprintf
#define vasprintf vasiprintf
#define snprintf sniprintf
#endif

View File

@ -131,6 +131,7 @@
#define sscanf siscanf
#define sprintf siprintf
#define vasprintf vasiprintf
#define snprintf sniprintf
#endif