Remove platform guard in mem buffer alloc

This commit is contained in:
Rich Evans 2015-02-12 12:17:10 +00:00
parent 85b05ec389
commit d08a605dac

View File

@ -30,16 +30,12 @@
#include "polarssl/memory_buffer_alloc.h" #include "polarssl/memory_buffer_alloc.h"
/* No need for the header guard as POLARSSL_MEMORY_BUFFER_ALLOC_C
is dependent upon POLARSSL_PLATFORM_C */
#include "polarssl/platform.h"
#include <string.h> #include <string.h>
#if defined(POLARSSL_MEMORY_DEBUG)
#if defined(POLARSSL_PLATFORM_C)
#include "polarssl/platform.h"
#else
#include <stdio.h>
#define polarssl_fprintf fprintf
#endif /* POLARSSL_PLATFORM_C */
#endif /* POLARSSL_MEMORY_DEBUG */
#if defined(POLARSSL_MEMORY_BACKTRACE) #if defined(POLARSSL_MEMORY_BACKTRACE)
#include <execinfo.h> #include <execinfo.h>
#endif #endif