summaryrefslogtreecommitdiffstats
path: root/libtommath/tommath_private.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-10-18 14:05:24 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-10-18 14:05:24 (GMT)
commit4da52405ca18b3fdb2be36de65bcd834a3497259 (patch)
treec6c5a2dec8b11f9e51ddd42543f4fec14b628be2 /libtommath/tommath_private.h
parente70b0460ea2b6bec55c0bcda34181a1b28b9a1e4 (diff)
parent12c8a0c839bb180c7a5ae3c49479534591a0d9c9 (diff)
downloadtcl-4da52405ca18b3fdb2be36de65bcd834a3497259.zip
tcl-4da52405ca18b3fdb2be36de65bcd834a3497259.tar.gz
tcl-4da52405ca18b3fdb2be36de65bcd834a3497259.tar.bz2
Merge libtommath
Diffstat (limited to 'libtommath/tommath_private.h')
-rw-r--r--libtommath/tommath_private.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libtommath/tommath_private.h b/libtommath/tommath_private.h
index 9276543..637ba7f 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)