summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2015-03-24 17:34:05 (GMT)
committerdgp <dgp@users.sourceforge.net>2015-03-24 17:34:05 (GMT)
commitcd70770139e4e257dca9e5575f3cfb4b15512594 (patch)
tree133b9c3a6a03a0fed12341c4eb734652e65abc20 /generic
parent63e0947392fd8ac318ca20cd083dfc8d9eb85199 (diff)
downloadtcl-cd70770139e4e257dca9e5575f3cfb4b15512594.zip
tcl-cd70770139e4e257dca9e5575f3cfb4b15512594.tar.gz
tcl-cd70770139e4e257dca9e5575f3cfb4b15512594.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')
-rw-r--r--generic/tcl.h16
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