mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-06-05 02:48:25 +00:00
modify library/memory_buffer_alloc.c, benchmark.c and the tests main code to use polarssl_exit
This commit is contained in:
parent
b92965be74
commit
012acfc20f
|
@ -33,6 +33,7 @@
|
||||||
#define polarssl_exit exit
|
#define polarssl_exit exit
|
||||||
#define polarssl_printf printf
|
#define polarssl_printf printf
|
||||||
#define polarssl_snprintf snprintf
|
#define polarssl_snprintf snprintf
|
||||||
|
#define polarssl_exit exit
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(POLARSSL_TIMING_C)
|
#if defined(POLARSSL_TIMING_C)
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
#if defined(POLARSSL_PLATFORM_C)
|
#if defined(POLARSSL_PLATFORM_C)
|
||||||
#include "polarssl/platform.h"
|
#include "polarssl/platform.h"
|
||||||
#else
|
#else
|
||||||
|
#include <stdio.h>
|
||||||
#define polarssl_exit exit
|
#define polarssl_exit exit
|
||||||
#define polarssl_free free
|
#define polarssl_free free
|
||||||
#define polarssl_malloc malloc
|
#define polarssl_malloc malloc
|
||||||
|
|
Loading…
Reference in a new issue