diff options
author | dgp <dgp@users.sourceforge.net> | 2015-03-24 17:34:05 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2015-03-24 17:34:05 (GMT) |
commit | 32ff2195a21937b9befa7b767fd3a5ef4602da54 (patch) | |
tree | 133b9c3a6a03a0fed12341c4eb734652e65abc20 /generic/tcl.h | |
parent | 7505833c266274e4d14a84da70f21f23c7f5b9f7 (diff) | |
download | tcl-32ff2195a21937b9befa7b767fd3a5ef4602da54.zip tcl-32ff2195a21937b9befa7b767fd3a5ef4602da54.tar.gz tcl-32ff2195a21937b9befa7b767fd3a5ef4602da54.tar.bz2 |
Tcl source code already assumes the <limits.h> file is available.
(See tcl/libtommath/tommath.h .) So dispose of all the configuration
shenanigans pretending we want to support systems that lack one.
Diffstat (limited to 'generic/tcl.h')
-rw-r--r-- | generic/tcl.h | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/generic/tcl.h b/generic/tcl.h index f09315b..5eff4d6 100644 --- a/generic/tcl.h +++ b/generic/tcl.h @@ -392,16 +392,12 @@ typedef long LONG; * Don't know what platform it is and configure hasn't discovered what is * going on for us. Try to guess... */ -# ifdef NO_LIMITS_H -# error please define either TCL_WIDE_INT_TYPE or TCL_WIDE_INT_IS_LONG -# else /* !NO_LIMITS_H */ -# include <limits.h> -# if (INT_MAX < LONG_MAX) -# define TCL_WIDE_INT_IS_LONG 1 -# else -# define TCL_WIDE_INT_TYPE long long -# endif -# endif /* NO_LIMITS_H */ +# include <limits.h> +# if (INT_MAX < LONG_MAX) +# define TCL_WIDE_INT_IS_LONG 1 +# else +# define TCL_WIDE_INT_TYPE long long +# endif # endif /* _WIN32 */ #endif /* !TCL_WIDE_INT_TYPE & !TCL_WIDE_INT_IS_LONG */ #ifdef TCL_WIDE_INT_IS_LONG |