Move MinGW specific define out of a header file
This commit is contained in:
parent
41734a1f2a
commit
edb868dcf9
2 changed files with 4 additions and 4 deletions
|
@ -30,6 +30,10 @@
|
|||
#include "mbedtls/platform.h"
|
||||
#include "mbedtls/platform_util.h"
|
||||
|
||||
#if defined(__MINGW32__) && !defined(__USE_MINGW_ANSI_STDIO)
|
||||
#define __USE_MINGW_ANSI_STDIO 1
|
||||
#endif
|
||||
|
||||
#if defined(MBEDTLS_PLATFORM_MEMORY)
|
||||
#if !defined(MBEDTLS_PLATFORM_STD_CALLOC)
|
||||
static void *platform_calloc_uninit( size_t n, size_t size )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue