Skip to content

Commit 5f6ccc7

Browse files
author
Stefan Krah
committed
Issue #26139: libmpdec: disable /W4 warning (non-standard dllimport behavior).
1 parent ab061cf commit 5f6ccc7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Modules/_decimal/libmpdec/memory.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@
3333
#include "memory.h"
3434

3535

36+
#if defined(_MSC_VER)
37+
#pragma warning(disable : 4232)
38+
#endif
39+
40+
3641
/* Guaranteed minimum allocation for a coefficient. May be changed once
3742
at program start using mpd_setminalloc(). */
3843
mpd_ssize_t MPD_MINALLOC = MPD_MINALLOC_MIN;

0 commit comments

Comments
 (0)