diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-01-11 16:01:36 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-01-11 16:01:36 (GMT) |
commit | a14063d19ac966fcf3c5c822dc2d0dc478b73a81 (patch) | |
tree | fea08907f02f3d199cd00f2be7872d577fa95750 /generic/tclStrToD.c | |
parent | 7ff4e84af2affaee83eff03e1b2c73f72e77a4a0 (diff) | |
download | tcl-a14063d19ac966fcf3c5c822dc2d0dc478b73a81.zip tcl-a14063d19ac966fcf3c5c822dc2d0dc478b73a81.tar.gz tcl-a14063d19ac966fcf3c5c822dc2d0dc478b73a81.tar.bz2 |
Make tclStrToD.c compile on systems without inttypes.h
Diffstat (limited to 'generic/tclStrToD.c')
-rw-r--r-- | generic/tclStrToD.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/generic/tclStrToD.c b/generic/tclStrToD.c index 7aee804..d03548c 100644 --- a/generic/tclStrToD.c +++ b/generic/tclStrToD.c @@ -22,6 +22,11 @@ #define copysign _copysign #endif +#ifndef PRIx64 +# define PRIx64 TCL_LL_MODIFIER "x" +#endif + + /* * This code supports (at least hypothetically), IBM, Cray, VAX and IEEE-754 * floating point; of these, only IEEE-754 can represent NaN. IEEE-754 can be |