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

victor.stinner python-checkins at python.org
Mon Jun 17 22:02:28 CEST 2013


http://hg.python.org/cpython/rev/cffb497552b8
changeset: 84195:cffb497552b8
branch: 3.3
parent: 84193:a0e234e10da6
user: Victor Stinner <victor.stinner at gmail.com>
date: Mon Jun 17 22:01:53 2013 +0200
summary:
 ctypes: AIX needs an explicit #include <alloca.h> to get alloca()
files:
 Modules/_ctypes/callproc.c | 1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
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>
 
 #if defined(_DEBUG) || defined(__MINGW32__)
 /* Don't use structured exception handling on Windows if this is defined.
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /