diff options
author | Damien George <damien.p.george@gmail.com> | 2014-06-08 13:25:33 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-06-08 13:25:33 +0100 |
commit | 4480cb37118b662cf301953595b37704dc197d40 (patch) | |
tree | 856afe4dbfbeea23134dd40275cbd1aa96a1d0ed /qemu-arm | |
parent | df896eceef27bc9a159bd62cdd78c66a56462544 (diff) | |
download | micropython-4480cb37118b662cf301953595b37704dc197d40.tar.gz micropython-4480cb37118b662cf301953595b37704dc197d40.zip |
Provide definition of alloca() in mpconfigport.h.
Diffstat (limited to 'qemu-arm')
-rw-r--r-- | qemu-arm/mpconfigport.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qemu-arm/mpconfigport.h b/qemu-arm/mpconfigport.h index f464712f50..e2c625ce29 100644 --- a/qemu-arm/mpconfigport.h +++ b/qemu-arm/mpconfigport.h @@ -33,3 +33,5 @@ extern const struct _mp_obj_fun_native_t mp_builtin_open_obj; #define MICROPY_PORT_BUILTINS \ { MP_OBJ_NEW_QSTR(MP_QSTR_open), (mp_obj_t)&mp_builtin_open_obj }, +// We need to provide a declaration/definition of alloca() +#include <alloca.h> |