]> granicus.if.org Git - python/commitdiff
Issue #26139: libmpdec: disable /W4 warning (non-standard dllimport behavior).
authorStefan Krah <skrah@bytereef.org>
Sun, 17 Jan 2016 11:28:43 +0000 (12:28 +0100)
committerStefan Krah <skrah@bytereef.org>
Sun, 17 Jan 2016 11:28:43 +0000 (12:28 +0100)
Modules/_decimal/libmpdec/memory.c

index 0f41fe50645293e1458cc45251e6ec73587e184c..61eb6336eb9643c99eb2e33ebf5a8328836c6354 100644 (file)
 #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;