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 /bare-arm | |
| parent | df896eceef27bc9a159bd62cdd78c66a56462544 (diff) | |
Provide definition of alloca() in mpconfigport.h.
Diffstat (limited to 'bare-arm')
| -rw-r--r-- | bare-arm/mpconfigport.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bare-arm/mpconfigport.h b/bare-arm/mpconfigport.h index 73b66802f..1587dca57 100644 --- a/bare-arm/mpconfigport.h +++ b/bare-arm/mpconfigport.h @@ -43,3 +43,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> |
