summaryrefslogtreecommitdiffstats
path: root/compat
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-12-09 10:02:20 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-12-09 10:02:20 (GMT)
commit37f6a196c51b2f90d404d79b2b751a54c8f25400 (patch)
tree97d9d2fd1be4900486a12979baa4392bade337be /compat
parentfea9c41d92f884d7d684647ac911c4ce45e9209f (diff)
downloadtcl-37f6a196c51b2f90d404d79b2b751a54c8f25400.zip
tcl-37f6a196c51b2f90d404d79b2b751a54c8f25400.tar.gz
tcl-37f6a196c51b2f90d404d79b2b751a54c8f25400.tar.bz2
Fix [abd4abedd2]: Failed to build tk 8.6.10 with cross compile
Diffstat (limited to 'compat')
-rw-r--r--compat/strtol.c2
-rw-r--r--compat/strtoul.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/compat/strtol.c b/compat/strtol.c
index b7f6919..811006a 100644
--- a/compat/strtol.c
+++ b/compat/strtol.c
@@ -53,7 +53,7 @@ strtol(
*/
p = string;
- while (TclIsSpaceProc(*p)) {
+ while (isspace(UCHAR(*p))) {
p += 1;
}
diff --git a/compat/strtoul.c b/compat/strtoul.c
index e37eb05..15587f1 100644
--- a/compat/strtoul.c
+++ b/compat/strtoul.c
@@ -74,7 +74,7 @@ strtoul(
*/
p = string;
- while (TclIsSpaceProc(*p)) {
+ while (isspace(UCHAR(*p))) {
p += 1;
}
if (*p == '-') {