mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 10:47:28 +02:00
Fix missing stdio.h include and XSNPRINTF definition on Freescale MQX.
This commit is contained in:
@ -824,6 +824,10 @@ typedef struct w64wrapper {
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
#define XSNPRINTF _xsnprintf_
|
#define XSNPRINTF _xsnprintf_
|
||||||
|
#elif defined(FREESCALE_MQX)
|
||||||
|
/* see wc_port.h for fio.h and nio.h includes. MQX does not
|
||||||
|
have stdio.h available, so it needs its own section. */
|
||||||
|
#define XSNPRINTF snprintf
|
||||||
#elif defined(WOLF_C89)
|
#elif defined(WOLF_C89)
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#define XSPRINTF sprintf
|
#define XSPRINTF sprintf
|
||||||
|
Reference in New Issue
Block a user