target/cortex: include alloca.h instead of malloc.h on *nix systems
This commit is contained in:
parent
bb058d8f35
commit
a26fa8f6f1
|
@ -42,7 +42,11 @@
|
|||
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
#if defined(_WIN32) || defined(__CYGWIN__)
|
||||
#include <malloc.h>
|
||||
#else
|
||||
#include <alloca.h>
|
||||
#endif
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
|
|
Loading…
Reference in New Issue