mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-02-05 05:13:40 +00:00
Only include platform files when needed
This commit is contained in:
parent
7dc4c44267
commit
b2f66c9158
@ -29,7 +29,6 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
@ -47,6 +46,7 @@ extern "C" {
|
||||
#if defined(POLARSSL_MEMORY_C)
|
||||
#include "memory.h"
|
||||
#else
|
||||
#include <stdlib.h>
|
||||
#define polarssl_malloc malloc
|
||||
#define polarssl_free free
|
||||
#endif
|
||||
|
||||
Loading…
Reference in New Issue
Block a user