[pypy-commit] cffi default: Issue #216: add "defined(__hpux)" for alloca.h

arigo noreply at buildbot.pypy.org
Thu Aug 13 22:55:22 CEST 2015


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r2243:0d32dd30762c
Date: 2015-08-13 21:55 +0100
http://bitbucket.org/cffi/cffi/changeset/0d32dd30762c/

Log:	Issue #216: add "defined(__hpux)" for alloca.h

diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c
--- a/c/_cffi_backend.c
+++ b/c/_cffi_backend.c
@@ -53,7 +53,7 @@
 # endif
 #else
 # include <stdint.h>
-# if (defined (__SVR4) && defined (__sun)) || defined(_AIX)
+# if (defined (__SVR4) && defined (__sun)) || defined(_AIX) || defined(__hpux)
 #  include <alloca.h>
 # endif
 #endif
diff --git a/cffi/_cffi_include.h b/cffi/_cffi_include.h
--- a/cffi/_cffi_include.h
+++ b/cffi/_cffi_include.h
@@ -46,7 +46,7 @@
 # endif
 #else
 # include <stdint.h>
-# if (defined (__SVR4) && defined (__sun)) || defined(_AIX)
+# if (defined (__SVR4) && defined (__sun)) || defined(_AIX) || defined(__hpux)
 #  include <alloca.h>
 # endif
 #endif


More information about the pypy-commit mailing list