123456789101112 |
- Index: mpy-cross/mpconfigport.h
- --- mpy-cross/mpconfigport.h.orig
- +++ mpy-cross/mpconfigport.h
- @@ -119,7 +119,7 @@ typedef long mp_off_t;
- #define MP_PLAT_PRINT_STRN(str, len) (void)0
-
- // We need to provide a declaration/definition of alloca()
- -#if defined(__FreeBSD__) || defined(__NetBSD__)
- +#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
- #include <stdlib.h>
- #elif defined(_WIN32)
- #include <malloc.h>
|