mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-06-20 17:07:51 +00:00
Fix extra guard in memory_buffer_alloc
This commit is contained in:
parent
401bb90ac0
commit
c8ada6d410
|
@ -27,12 +27,10 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(POLARSSL_MEMORY_BUFFER_ALLOC_C)
|
#if defined(POLARSSL_MEMORY_BUFFER_ALLOC_C)
|
||||||
|
|
||||||
#include "polarssl/memory_buffer_alloc.h"
|
#include "polarssl/memory_buffer_alloc.h"
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#if defined(POLARSSL_MEMORY_DEBUG)
|
|
||||||
#if defined(POLARSSL_PLATFORM_C)
|
#if defined(POLARSSL_PLATFORM_C)
|
||||||
#include "polarssl/platform.h"
|
#include "polarssl/platform.h"
|
||||||
#else
|
#else
|
||||||
|
@ -40,7 +38,6 @@
|
||||||
#define polarssl_exit exit
|
#define polarssl_exit exit
|
||||||
#define polarssl_fprintf fprintf
|
#define polarssl_fprintf fprintf
|
||||||
#endif /* POLARSSL_PLATFORM_C */
|
#endif /* POLARSSL_PLATFORM_C */
|
||||||
#endif /* POLARSSL_MEMORY_DEBUG */
|
|
||||||
|
|
||||||
#if defined(POLARSSL_MEMORY_BACKTRACE)
|
#if defined(POLARSSL_MEMORY_BACKTRACE)
|
||||||
#include <execinfo.h>
|
#include <execinfo.h>
|
||||||
|
|
Loading…
Reference in a new issue