mirror of
https://github.com/python/cpython
synced 2026-09-29 09:40:29 +03:00
Fix for r84195: add HAVE_ALLOCA_H to configure and only include alloca.h if it's available
This commit is contained in:
parent
5678539500
commit
f0400baba8
4 changed files with 8 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue