Fixup builds using WOLFSSL_LOG_PRINTF (SGX test exposed)

This commit is contained in:
kaleb-himes
2022-10-05 13:54:22 -06:00
parent cb5828235b
commit 6178b3e365

View File

@@ -97,6 +97,7 @@
#endif #endif
/* printf mappings */ /* printf mappings */
#ifndef WOLFSSL_LOG_PRINTF
#if defined(FREESCALE_MQX) || defined(FREESCALE_KSDK_MQX) #if defined(FREESCALE_MQX) || defined(FREESCALE_KSDK_MQX)
#include <mqx.h> #include <mqx.h>
#include <stdlib.h> #include <stdlib.h>
@@ -208,6 +209,7 @@
#define printf(...) ( printf(__VA_ARGS__), fflush(stdout) ) #define printf(...) ( printf(__VA_ARGS__), fflush(stdout) )
#endif #endif
#endif #endif
#endif /* !WOLFSSL_LOG_PRINTF */
#include <wolfssl/wolfcrypt/memory.h> #include <wolfssl/wolfcrypt/memory.h>
#include <wolfssl/wolfcrypt/wc_port.h> #include <wolfssl/wolfcrypt/wc_port.h>