From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 28 Jun 2020 20:24:58 +0000 (-0700) Subject: bpo-40874 Update the required libmpdec version for the decimal module (GH-21202) X-Git-Tag: v3.9.0b4~16 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=119de0eba839993cf6a909dba5d60202ad5566d6;p=thirdparty%2FPython%2Fcpython.git bpo-40874 Update the required libmpdec version for the decimal module (GH-21202) (cherry picked from commit 8bea91b5e9ea07ca93958e131b436024f0b1b1cf) Authored-by: Stefan Krah --- diff --git a/Misc/NEWS.d/next/Library/2020-06-28-21-16-51.bpo-40874.YImvzA.rst b/Misc/NEWS.d/next/Library/2020-06-28-21-16-51.bpo-40874.YImvzA.rst new file mode 100644 index 000000000000..a43eab8f4dcd --- /dev/null +++ b/Misc/NEWS.d/next/Library/2020-06-28-21-16-51.bpo-40874.YImvzA.rst @@ -0,0 +1 @@ +The decimal module now requires libmpdec-2.5.0. diff --git a/Modules/_decimal/_decimal.c b/Modules/_decimal/_decimal.c index 20ba8fb77ad4..ff7c647c2220 100644 --- a/Modules/_decimal/_decimal.c +++ b/Modules/_decimal/_decimal.c @@ -36,8 +36,8 @@ #include "docstrings.h" -#if !defined(MPD_VERSION_HEX) || MPD_VERSION_HEX < 0x02040100 - #error "libmpdec version >= 2.4.1 required" +#if !defined(MPD_VERSION_HEX) || MPD_VERSION_HEX < 0x02050000 + #error "libmpdec version >= 2.5.0 required" #endif