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
40e9aed0
Commit
40e9aed0
authored
Oct 02, 2006
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Guard uintptr_t test with HAVE_STDINT_H, test for
stdint.h. Will backport.
parent
ebe26709
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
7 deletions
+16
-7
Include/pyport.h
Include/pyport.h
+4
-0
configure
configure
+7
-4
configure.in
configure.in
+5
-3
No files found.
Include/pyport.h
View file @
40e9aed0
...
...
@@ -3,6 +3,10 @@
#include "pyconfig.h"
/* include for defines */
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
/**************************************************************************
Symbols and macros to supply platform-independent interfaces to basic
C language & library operations whose spellings vary across platforms.
...
...
configure
View file @
40e9aed0
#! /bin/sh
# From configure.in Revision: 5
1971
.
# From configure.in Revision: 5
2086
.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59 for python 2.6.
#
...
...
@@ -4629,12 +4629,13 @@ done
for
ac_header
in
asm/types.h conio.h curses.h direct.h dlfcn.h errno.h
\
fcntl.h grp.h
\
shadow.h
io.h langinfo.h libintl.h ncurses.h poll.h process.h pthread.h
\
s
ignal
.h stropts.h termios.h thread.h
\
io.h langinfo.h libintl.h ncurses.h poll.h process.h pthread.h
\
s
hadow.h signal.h stdint
.h stropts.h termios.h thread.h
\
unistd.h utime.h
\
sys/audioio.h sys/bsdtty.h sys/file.h sys/loadavg.h sys/lock.h sys/mkdev.h
\
sys/modem.h
\
...
...
@@ -10084,7 +10085,9 @@ _ACEOF
cat
confdefs.h
>>
conftest.
$ac_ext
cat
>>
conftest.
$ac_ext
<<
_ACEOF
/* end confdefs.h. */
#include <stdint.h>
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
int
main ()
...
...
configure.in
View file @
40e9aed0
...
...
@@ -1068,8 +1068,8 @@ dnl AC_MSG_RESULT($cpp_type)
AC_HEADER_STDC
AC_CHECK_HEADERS(asm/types.h conio.h curses.h direct.h dlfcn.h errno.h \
fcntl.h grp.h \
shadow.h
io.h langinfo.h libintl.h ncurses.h poll.h process.h pthread.h \
s
ignal
.h stropts.h termios.h thread.h \
io.h langinfo.h libintl.h ncurses.h poll.h process.h pthread.h \
s
hadow.h signal.h stdint
.h stropts.h termios.h thread.h \
unistd.h utime.h \
sys/audioio.h sys/bsdtty.h sys/file.h sys/loadavg.h sys/lock.h sys/mkdev.h \
sys/modem.h \
...
...
@@ -1199,7 +1199,9 @@ fi
AC_CHECK_TYPES(uintptr_t,
[AC_CHECK_SIZEOF(uintptr_t, 4)],
[], [#include <stdint.h>])
[], [#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif])
# Hmph. AC_CHECK_SIZEOF() doesn't include <sys/types.h>.
...
...
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