diff options
author | Dong-hee Na <donghee.na@python.org> | 2022-09-22 12:25:05 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-22 12:25:05 (GMT) |
commit | 10e3d398c31cc1695752fc52bc6ca2ce9ef6237e (patch) | |
tree | 947f6888cc676d5beb9c518e8eeb675a74371c36 /Modules/expat/internal.h | |
parent | b4f5f07d076d7e7d825306981108dbb7120d7377 (diff) | |
download | cpython-10e3d398c31cc1695752fc52bc6ca2ce9ef6237e.zip cpython-10e3d398c31cc1695752fc52bc6ca2ce9ef6237e.tar.gz cpython-10e3d398c31cc1695752fc52bc6ca2ce9ef6237e.tar.bz2 |
gh-97005: Update libexpat from 2.4.7 to 2.4.9 (gh-97006)
Co-authored-by: Gregory P. Smith [Google] <greg@krypto.org>
Diffstat (limited to 'Modules/expat/internal.h')
-rw-r--r-- | Modules/expat/internal.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Modules/expat/internal.h b/Modules/expat/internal.h index 444eba0..e09f533 100644 --- a/Modules/expat/internal.h +++ b/Modules/expat/internal.h @@ -28,7 +28,7 @@ Copyright (c) 2002-2003 Fred L. Drake, Jr. <fdrake@users.sourceforge.net> Copyright (c) 2002-2006 Karl Waclawek <karl@waclawek.net> Copyright (c) 2003 Greg Stein <gstein@users.sourceforge.net> - Copyright (c) 2016-2021 Sebastian Pipping <sebastian@pipping.org> + Copyright (c) 2016-2022 Sebastian Pipping <sebastian@pipping.org> Copyright (c) 2018 Yury Gribov <tetra2005@gmail.com> Copyright (c) 2019 David Loffredo <loffredo@steptools.com> Licensed under the MIT license: @@ -107,7 +107,9 @@ #include <limits.h> // ULONG_MAX -#if defined(_WIN32) && ! defined(__USE_MINGW_ANSI_STDIO) +#if defined(_WIN32) \ + && (! defined(__USE_MINGW_ANSI_STDIO) \ + || (1 - __USE_MINGW_ANSI_STDIO - 1 == 0)) # define EXPAT_FMT_ULL(midpart) "%" midpart "I64u" # if defined(_WIN64) // Note: modifiers "td" and "zu" do not work for MinGW # define EXPAT_FMT_PTRDIFF_T(midpart) "%" midpart "I64d" |