summaryrefslogtreecommitdiffstats
path: root/libtommath/tommath_private.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-10-18 14:04:41 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-10-18 14:04:41 (GMT)
commit12c8a0c839bb180c7a5ae3c49479534591a0d9c9 (patch)
treec8e664970ce7eb9e1e7ebbd4f6c399310632f7af /libtommath/tommath_private.h
parent6dd152f0407fefebbdd94e2aa2e3c9fd7e23ad6e (diff)
downloadtcl-12c8a0c839bb180c7a5ae3c49479534591a0d9c9.zip
tcl-12c8a0c839bb180c7a5ae3c49479534591a0d9c9.tar.gz
tcl-12c8a0c839bb180c7a5ae3c49479534591a0d9c9.tar.bz2
update libtommath to v1.2.0-rc2, with a few additional fixes.
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 7c167a5..1a0096f 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)