commit | 8ca63f95f769c31f65a996fe065ff6dcfb490bbe | [log] [tgz] |
---|---|---|
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Wed Jul 15 06:01:10 2020 -0700 |
committer | GitHub <noreply@github.com> | Wed Jul 15 06:01:10 2020 -0700 |
tree | 06bfdb94ec9d5d37a3b56c6d312a89771b423954 | |
parent | f3232294ee695492f43d424cc6969d018d49861d [diff] |
bpo-41302: Fix build with system libmpdec (GH-21481) Move definition of UNUSED from modified headers of libmpdec to _decimal.c itself. This makes the vendored source closer to the standalone library and fixes build with --with-system-libmpdec. Tested to build fine with either system libmpdec or the vendored one. (cherry picked from commit 015efdbef7454a522e88cd79ba2b4cd77a5fb2a2) Co-authored-by: Felix Yan <felixonmars@archlinux.org>