[Python-Dev] [Python-checkins] cpython (3.3): ctypes: AIX needs an explicit #include <alloca.h> to get alloca()

Jeremy Kloth jeremy.kloth at gmail.com
Tue Jun 18 12:56:37 CEST 2013


On Mon, Jun 17, 2013 at 2:02 PM, victor.stinner
<python-checkins at python.org> wrote:
> diff --git a/Modules/_ctypes/callproc.c b/Modules/_ctypes/callproc.c
> --- a/Modules/_ctypes/callproc.c
> +++ b/Modules/_ctypes/callproc.c
> @@ -70,6 +70,7 @@
>
>  #include <ffi.h>
>  #include "ctypes.h"
> +#include <alloca.h>

This header is not present on Windows, thus breaking all the Windows
buildbots.  Perhaps it should be wrapped in an AIX-specific #ifdef?

-- 
Jeremy Kloth


More information about the Python-Dev mailing list