Fix header issue with default malloc()

This commit is contained in:
Manuel Pégourié-Gonnard 2014-04-02 13:43:48 +02:00
parent 74bc68ac62
commit eb82a74ed2
2 changed files with 6 additions and 0 deletions

View file

@ -41,6 +41,10 @@ extern "C" {
#define POLARSSL_PLATFORM_STD_FPRINTF fprintf /**< Default fprintf to use */
#define POLARSSL_PLATFORM_STD_MALLOC malloc /**< Default allocator to use */
#define POLARSSL_PLATFORM_STD_FREE free /**< Default free to use */
#else /* POLARSSL_CONFIG_OPTIONS */
#if defined(POLARSSL_PLATFORM_STD_MEM_HDR)
#include POLARSSL_PLATFORM_STD_MEM_HDR
#endif
#endif /* POLARSSL_CONFIG_OPTIONS */
/*