1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-28 00:21:48 +03:00

Fix bug with compatibility memory define/header

This commit is contained in:
Manuel Pégourié-Gonnard
2015-01-23 17:28:27 +00:00
parent 2be147a9cb
commit 0a155b826c
4 changed files with 10 additions and 4 deletions

View File

@ -30,6 +30,11 @@
#include POLARSSL_CONFIG_FILE
#endif
/* Temporary compability hack for to keep the deprecated MEMORY_C working */
#if defined(POLARSSL_MEMORY_C) && !defined(POLARSSL_PLATFORM_MEMORY)
#define POLARSSL_PLATFORM_MEMORY
#endif
#include <stdio.h>
#ifdef __cplusplus