mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-22 05:46:41 +01:00
Fix extra guard in memory_buffer_alloc
This commit is contained in:
parent
401bb90ac0
commit
c8ada6d410
1 changed files with 0 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue