Author: Armin Rigo <ar...@tunes.org>
Branch: 
Changeset: r1498:41b3ef920695
Date: 2014-04-04 17:26 +0200
http://bitbucket.org/cffi/cffi/changeset/41b3ef920695/

Log:    Issue #144: copy the "#if...#include <alloca.h>" done in
        _cffi_backend.c.

diff --git a/cffi/vengine_cpy.py b/cffi/vengine_cpy.py
--- a/cffi/vengine_cpy.py
+++ b/cffi/vengine_cpy.py
@@ -776,6 +776,10 @@
 typedef unsigned __int32 uint32_t;
 typedef unsigned __int64 uint64_t;
 typedef unsigned char _Bool;
+#else
+#if (defined (__SVR4) && defined (__sun)) || defined(_AIX)
+#  include <alloca.h>
+#endif
 #endif
 
 #if PY_MAJOR_VERSION < 3
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to