diff options
author | Christian Heimes <christian@cheimes.de> | 2013-06-18 11:22:37 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2013-06-18 11:22:37 (GMT) |
commit | 360b89ca5e388298a9910b917b1add21a05b9a1b (patch) | |
tree | 6689f16deaa3f6bb9ac8c604dd6080603fb48042 /Modules | |
parent | 8dd823340fb993b3efffda5c4896d2a0829e6fe2 (diff) | |
parent | f0400baba81579483b9763e95babd8a5e92e1ef1 (diff) | |
download | cpython-360b89ca5e388298a9910b917b1add21a05b9a1b.zip cpython-360b89ca5e388298a9910b917b1add21a05b9a1b.tar.gz cpython-360b89ca5e388298a9910b917b1add21a05b9a1b.tar.bz2 |
Fix for r84195: add HAVE_ALLOCA_H to configure and only include alloca.h if it's available
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_ctypes/callproc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/_ctypes/callproc.c b/Modules/_ctypes/callproc.c index b993207..7019611 100644 --- a/Modules/_ctypes/callproc.c +++ b/Modules/_ctypes/callproc.c @@ -70,7 +70,10 @@ #include <ffi.h> #include "ctypes.h" +#ifdef HAVE_ALLOCA_H +/* AIX needs alloca.h for alloca() */ #include <alloca.h> +#endif #if defined(_DEBUG) || defined(__MINGW32__) /* Don't use structured exception handling on Windows if this is defined. |