Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1bf29b7

Browse files
committed
Some platforms provide uintptr_t in inttypes.h. Patch by
Akira Kitada.
1 parent 79941b5 commit 1bf29b7

4 files changed

Lines changed: 11 additions & 1 deletion

File tree

Misc/ACKS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,7 @@ Randall Kern
435435
Magnus Kessler
436436
Lawrence Kesteloot
437437
Vivek Khera
438+
Akira Kitada
438439
Mads Kiilerich
439440
Taek Joo Kim
440441
Paul Kippes

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,9 @@ Tests
346346
Build
347347
-----
348348

349+
- Issue #10054: Some platforms provide uintptr_t in inttypes.h. Patch by
350+
Akira Kitada.
351+
349352
- Issue #10055: Make json C89-compliant in UCS4 mode.
350353

351354
- Issue #9552: Avoid unnecessary rebuild of OpenSSL. (Windows)

configure

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#! /bin/sh
2-
# From configure.in Revision: 84752 .
2+
# From configure.in Revision: 84946 .
33
# Guess values for system-dependent variables and create Makefiles.
44
# Generated by GNU Autoconf 2.65 for python 3.2.
55
#
@@ -7113,6 +7113,9 @@ fi
71137113
ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#ifdef HAVE_STDINT_H
71147114
#include <stdint.h>
71157115
#endif
7116+
#ifdef HAVE_INTTYPES_H
7117+
#include <inttypes.h>
7118+
#endif
71167119
"
71177120
if test "x$ac_cv_type_uintptr_t" = x""yes; then :
71187121

configure.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1483,6 +1483,9 @@ AC_CHECK_TYPES(uintptr_t,
14831483
[AC_CHECK_SIZEOF(uintptr_t, 4)],
14841484
[], [#ifdef HAVE_STDINT_H
14851485
#include <stdint.h>
1486+
#endif
1487+
#ifdef HAVE_INTTYPES_H
1488+
#include <inttypes.h>
14861489
#endif])
14871490

14881491
AC_CHECK_SIZEOF(off_t, [], [

0 commit comments

Comments
 (0)