Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
360b89ca
Commit
360b89ca
authored
Jun 18, 2013
by
Christian Heimes
Browse files
Options
Browse Files
Download
Plain Diff
Fix for r84195: add HAVE_ALLOCA_H to configure and only include alloca.h if it's available
parents
8dd82334
f0400bab
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
2 deletions
+8
-2
Modules/_ctypes/callproc.c
Modules/_ctypes/callproc.c
+3
-0
configure
configure
+1
-1
configure.ac
configure.ac
+1
-1
pyconfig.h.in
pyconfig.h.in
+3
-0
No files found.
Modules/_ctypes/callproc.c
View file @
360b89ca
...
@@ -70,7 +70,10 @@
...
@@ -70,7 +70,10 @@
#include <ffi.h>
#include <ffi.h>
#include "ctypes.h"
#include "ctypes.h"
#ifdef HAVE_ALLOCA_H
/* AIX needs alloca.h for alloca() */
#include <alloca.h>
#include <alloca.h>
#endif
#if defined(_DEBUG) || defined(__MINGW32__)
#if defined(_DEBUG) || defined(__MINGW32__)
/* Don't use structured exception handling on Windows if this is defined.
/* Don't use structured exception handling on Windows if this is defined.
...
...
configure
View file @
360b89ca
...
@@ -6937,7 +6937,7 @@ sys/param.h sys/select.h sys/sendfile.h sys/socket.h sys/statvfs.h \
...
@@ -6937,7 +6937,7 @@ sys/param.h sys/select.h sys/sendfile.h sys/socket.h sys/statvfs.h \
sys/stat.h sys/syscall.h sys/sys_domain.h sys/termio.h sys/time.h
\
sys/stat.h sys/syscall.h sys/sys_domain.h sys/termio.h sys/time.h
\
sys/times.h sys/types.h sys/uio.h sys/un.h sys/utsname.h sys/wait.h pty.h
\
sys/times.h sys/types.h sys/uio.h sys/un.h sys/utsname.h sys/wait.h pty.h
\
libutil.h sys/resource.h netpacket/packet.h sysexits.h bluetooth.h
\
libutil.h sys/resource.h netpacket/packet.h sysexits.h bluetooth.h
\
bluetooth/bluetooth.h linux/tipc.h spawn.h util.h
bluetooth/bluetooth.h linux/tipc.h spawn.h util.h
alloca.h
do
:
do
:
as_ac_Header
=
`
$as_echo
"ac_cv_header_
$ac_header
"
|
$as_tr_sh
`
as_ac_Header
=
`
$as_echo
"ac_cv_header_
$ac_header
"
|
$as_tr_sh
`
ac_fn_c_check_header_mongrel
"
$LINENO
"
"
$ac_header
"
"
$as_ac_Header
"
"
$ac_includes_default
"
ac_fn_c_check_header_mongrel
"
$LINENO
"
"
$ac_header
"
"
$as_ac_Header
"
"
$ac_includes_default
"
...
...
configure.ac
View file @
360b89ca
...
@@ -1532,7 +1532,7 @@ sys/param.h sys/select.h sys/sendfile.h sys/socket.h sys/statvfs.h \
...
@@ -1532,7 +1532,7 @@ sys/param.h sys/select.h sys/sendfile.h sys/socket.h sys/statvfs.h \
sys/stat.h sys/syscall.h sys/sys_domain.h sys/termio.h sys/time.h \
sys/stat.h sys/syscall.h sys/sys_domain.h sys/termio.h sys/time.h \
sys/times.h sys/types.h sys/uio.h sys/un.h sys/utsname.h sys/wait.h pty.h \
sys/times.h sys/types.h sys/uio.h sys/un.h sys/utsname.h sys/wait.h pty.h \
libutil.h sys/resource.h netpacket/packet.h sysexits.h bluetooth.h \
libutil.h sys/resource.h netpacket/packet.h sysexits.h bluetooth.h \
bluetooth/bluetooth.h linux/tipc.h spawn.h util.h)
bluetooth/bluetooth.h linux/tipc.h spawn.h util.h
alloca.h
)
CPPFLAGS=$ac_save_cppflags
CPPFLAGS=$ac_save_cppflags
AC_HEADER_DIRENT
AC_HEADER_DIRENT
AC_HEADER_MAJOR
AC_HEADER_MAJOR
...
...
pyconfig.h.in
View file @
360b89ca
...
@@ -49,6 +49,9 @@
...
@@ -49,6 +49,9 @@
/* Define to 1 if you have the `alarm' function. */
/* Define to 1 if you have the `alarm' function. */
#undef HAVE_ALARM
#undef HAVE_ALARM
/* Define to 1 if you have the <alloca.h> header file. */
#undef HAVE_ALLOCA_H
/* Define this if your time.h defines altzone. */
/* Define this if your time.h defines altzone. */
#undef HAVE_ALTZONE
#undef HAVE_ALTZONE
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment