[Python-checkins] cpython (merge 3.3 -> default): (Merge 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:29 CEST 2013


http://hg.python.org/cpython/rev/f6f70f1ab124
changeset:   84196:f6f70f1ab124
parent:      84194:8e277e6bd11b
parent:      84195:cffb497552b8
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Mon Jun 17 22:02:14 2013 +0200
summary:
  (Merge 3.3) 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