summaryrefslogtreecommitdiffstats
path: root/generic/tclTomMath.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-10-24 15:07:10 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-10-24 15:07:10 (GMT)
commit846e8f4c800a926b96d55217a217e1f27a7ce3c0 (patch)
treebd6e4842a35b9e10beff7166e0f47c38967c9c80 /generic/tclTomMath.h
parentc3353d5a645c33f35445ab3c510dfef988897dd2 (diff)
downloadtcl-846e8f4c800a926b96d55217a217e1f27a7ce3c0.zip
tcl-846e8f4c800a926b96d55217a217e1f27a7ce3c0.tar.gz
tcl-846e8f4c800a926b96d55217a217e1f27a7ce3c0.tar.bz2
Add support for libtommath's MP_WUR annotation to genStubs.tcl. Not enforced yet by the Tcl core, but extensions will encounter the libtommath warnings. Can be switched off.
Diffstat (limited to 'generic/tclTomMath.h')
-rw-r--r--generic/tclTomMath.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/generic/tclTomMath.h b/generic/tclTomMath.h
index 74a2c54..9afa10f 100644
--- a/generic/tclTomMath.h
+++ b/generic/tclTomMath.h
@@ -4,12 +4,14 @@
#ifndef BN_H_
#define BN_H_
+#ifndef MP_NO_STDINT
+# include <stdint.h>
+#endif
+
#ifndef MODULE_SCOPE
#define MODULE_SCOPE extern
#endif
-
-
#ifdef __cplusplus
extern "C" {
#endif