summaryrefslogtreecommitdiffstats
path: root/Modules/_decimal
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2016-01-17 11:28:43 (GMT)
committerStefan Krah <skrah@bytereef.org>2016-01-17 11:28:43 (GMT)
commit5f6ccc787e3d554bf4d759eb532826151809a8dc (patch)
treed06d860de3abd76b432ecdfd338d7acf0cc64065 /Modules/_decimal
parentab061cf2aec2bd1440066dc5238e95d3aee7fd9f (diff)
downloadcpython-5f6ccc787e3d554bf4d759eb532826151809a8dc.zip
cpython-5f6ccc787e3d554bf4d759eb532826151809a8dc.tar.gz
cpython-5f6ccc787e3d554bf4d759eb532826151809a8dc.tar.bz2
Issue #26139: libmpdec: disable /W4 warning (non-standard dllimport behavior).
Diffstat (limited to 'Modules/_decimal')
-rw-r--r--Modules/_decimal/libmpdec/memory.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/_decimal/libmpdec/memory.c b/Modules/_decimal/libmpdec/memory.c
index 0f41fe5..61eb633 100644
--- a/Modules/_decimal/libmpdec/memory.c
+++ b/Modules/_decimal/libmpdec/memory.c
@@ -33,6 +33,11 @@
#include "memory.h"
+#if defined(_MSC_VER)
+ #pragma warning(disable : 4232)
+#endif
+
+
/* Guaranteed minimum allocation for a coefficient. May be changed once
at program start using mpd_setminalloc(). */
mpd_ssize_t MPD_MINALLOC = MPD_MINALLOC_MIN;