mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-22 13:56:42 +01: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
2 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue