From 6178b3e3655da0e5e542a12cd0ba8589237b7d8d Mon Sep 17 00:00:00 2001 From: kaleb-himes Date: Wed, 5 Oct 2022 13:54:22 -0600 Subject: [PATCH] Fixup builds using WOLFSSL_LOG_PRINTF (SGX test exposed) --- wolfcrypt/test/test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wolfcrypt/test/test.c b/wolfcrypt/test/test.c index 02b8675b7..64c9a7038 100644 --- a/wolfcrypt/test/test.c +++ b/wolfcrypt/test/test.c @@ -97,6 +97,7 @@ #endif /* printf mappings */ +#ifndef WOLFSSL_LOG_PRINTF #if defined(FREESCALE_MQX) || defined(FREESCALE_KSDK_MQX) #include #include @@ -208,6 +209,7 @@ #define printf(...) ( printf(__VA_ARGS__), fflush(stdout) ) #endif #endif +#endif /* !WOLFSSL_LOG_PRINTF */ #include #include