mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 02:35:48 +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 "config.h"
|
||||||
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
@ -47,6 +46,7 @@ extern "C" {
|
|||||||
#if defined(POLARSSL_MEMORY_C)
|
#if defined(POLARSSL_MEMORY_C)
|
||||||
#include "memory.h"
|
#include "memory.h"
|
||||||
#else
|
#else
|
||||||
|
#include <stdlib.h>
|
||||||
#define polarssl_malloc malloc
|
#define polarssl_malloc malloc
|
||||||
#define polarssl_free free
|
#define polarssl_free free
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user