summaryrefslogtreecommitdiff
path: root/Modules/_decimal/libmpdec/memory.c
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2016-01-17 12:28:43 +0100
committerStefan Krah <skrah@bytereef.org>2016-01-17 12:28:43 +0100
commit09736dc03235de9ee4d3c5cb8313b8a5396cbba3 (patch)
treec03da8d88435f3d5233631700b464713da453300 /Modules/_decimal/libmpdec/memory.c
parent8049026161d4207a653aeb1101bf0f97cac49273 (diff)
downloadcpython-09736dc03235de9ee4d3c5cb8313b8a5396cbba3.tar.gz
Issue #26139: libmpdec: disable /W4 warning (non-standard dllimport behavior).
Diffstat (limited to 'Modules/_decimal/libmpdec/memory.c')
-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 0f41fe5064..61eb6336eb 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;