Commit d735278c authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

unix/mpconfigport.h: For MICROPY_NO_ALLOCA=1, don't even include alloca.h.

parent e9a684d7
......@@ -232,8 +232,11 @@ extern const struct _mp_obj_fun_builtin_t mp_builtin_open_obj;
void *mmap_region_head; \
// We need to provide a declaration/definition of alloca()
// unless support for it is disabled.
#ifdef __FreeBSD__
#include <stdlib.h>
#include <alloca.h>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment