diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-12-09 10:02:20 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-12-09 10:02:20 (GMT) |
commit | 37f6a196c51b2f90d404d79b2b751a54c8f25400 (patch) | |
tree | 97d9d2fd1be4900486a12979baa4392bade337be /compat | |
parent | fea9c41d92f884d7d684647ac911c4ce45e9209f (diff) | |
download | tcl-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.c | 2 | ||||
-rw-r--r-- | compat/strtoul.c | 2 |
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 == '-') { |