summaryrefslogtreecommitdiffstats
path: root/libtommath/tommath_private.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-10-18 15:09:36 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-10-18 15:09:36 (GMT)
commit601e71d7fc15a51716923ffe213ec68cb6cfc3c3 (patch)
tree02abb7979914624b9227795048859a7ee8984950 /libtommath/tommath_private.h
parent6c9ba2c3e1caa12aed6ef041c8fa23c7bc0a4212 (diff)
parent4da52405ca18b3fdb2be36de65bcd834a3497259 (diff)
downloadtcl-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.h4
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)