diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-10-18 15:09:36 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-10-18 15:09:36 (GMT) |
commit | 601e71d7fc15a51716923ffe213ec68cb6cfc3c3 (patch) | |
tree | 02abb7979914624b9227795048859a7ee8984950 /libtommath/tommath_private.h | |
parent | 6c9ba2c3e1caa12aed6ef041c8fa23c7bc0a4212 (diff) | |
parent | 4da52405ca18b3fdb2be36de65bcd834a3497259 (diff) | |
download | tcl-601e71d7fc15a51716923ffe213ec68cb6cfc3c3.zip tcl-601e71d7fc15a51716923ffe213ec68cb6cfc3c3.tar.gz tcl-601e71d7fc15a51716923ffe213ec68cb6cfc3c3.tar.bz2 |
Merge latest libtommath changes (will be release 1.2.0)
Diffstat (limited to 'libtommath/tommath_private.h')
-rw-r--r-- | libtommath/tommath_private.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libtommath/tommath_private.h b/libtommath/tommath_private.h index eea4a94..fe78d27 100644 --- a/libtommath/tommath_private.h +++ b/libtommath/tommath_private.h @@ -141,6 +141,10 @@ extern void MP_FREE(void *mem, size_t size); #endif /* feature detection macro */ +#ifdef _MSC_VER +/* Prevent false positive: not enough arguments for function-like macro invocation */ +#pragma warning(disable: 4003) +#endif #define MP_STRINGIZE(x) MP__STRINGIZE(x) #define MP__STRINGIZE(x) ""#x"" #define MP_HAS(x) (sizeof(MP_STRINGIZE(BN_##x##_C)) == 1u) |