diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-10-24 15:07:10 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-10-24 15:07:10 (GMT) |
commit | 846e8f4c800a926b96d55217a217e1f27a7ce3c0 (patch) | |
tree | bd6e4842a35b9e10beff7166e0f47c38967c9c80 /generic/tclTomMath.h | |
parent | c3353d5a645c33f35445ab3c510dfef988897dd2 (diff) | |
download | tcl-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.h | 6 |
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 |