diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-04-20 22:15:35 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-04-20 22:24:44 +0300 |
commit | 353b0289f34abaff8cd6d5e4cbb02851eb80f118 (patch) | |
tree | 4a80edb19af1d6e321c6f6279ff7a492ad5f54f7 /py/objfun.c | |
parent | 41809a1ceda52ec072a0e9a6da1650d4d1f5dfc3 (diff) | |
download | micropython-353b0289f34abaff8cd6d5e4cbb02851eb80f118.tar.gz micropython-353b0289f34abaff8cd6d5e4cbb02851eb80f118.zip |
py: Add win32-specific header for alloca().
Diffstat (limited to 'py/objfun.c')
-rw-r--r-- | py/objfun.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/py/objfun.c b/py/objfun.c index c7144f3078..940b64a66e 100644 --- a/py/objfun.c +++ b/py/objfun.c @@ -2,6 +2,10 @@ #include <stdlib.h> #include <string.h> #include <assert.h> +#ifdef __MINGW32__ +// For alloca() +#include <malloc.h> +#endif #include "nlr.h" #include "misc.h" |