mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-29 16:14:20 +01:00
Remove platform guard in mem buffer alloc
This commit is contained in:
parent
85b05ec389
commit
d08a605dac
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user