altcp mbedtls: fix error in preprocessor logic setting ALTCP_MBEDTLS_PLATFORM_ALLOC

Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
This commit is contained in:
Tom Collins 2021-11-12 22:31:04 +01:00 committed by Simon Goldschmidt
parent 12506cda7d
commit 601e1bb326

View File

@ -70,7 +70,7 @@
#if defined(MBEDTLS_PLATFORM_MEMORY) && \
(!defined(MBEDTLS_PLATFORM_FREE_MACRO) || \
defined(MBEDTLS_PLATFORM_CALLOC_MACRO))
!defined(MBEDTLS_PLATFORM_CALLOC_MACRO))
#define ALTCP_MBEDTLS_PLATFORM_ALLOC 1
#else
#define ALTCP_MBEDTLS_PLATFORM_ALLOC 0