mirror of
https://github.com/espressif/mbedtls.git
synced 2026-11-07 16:23:45 +00:00
Fix the build when MBEDTLS_PLATFORM_C is unset
Signed-off-by: Gilles Peskine <[email protected]>
This commit is contained in:
@@ -23,8 +23,9 @@
|
||||
#include MBEDTLS_CONFIG_FILE
|
||||
#endif
|
||||
|
||||
#if defined(MBEDTLS_PLATFORM_C)
|
||||
#include "mbedtls/platform.h"
|
||||
#if !defined(MBEDTLS_PLATFORM_C)
|
||||
#else
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#define mbedtls_fprintf fprintf
|
||||
|
||||
Reference in New Issue
Block a user