mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 00:15:37 +01: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