From 37f6a196c51b2f90d404d79b2b751a54c8f25400 Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Mon, 9 Dec 2019 10:02:20 +0000 Subject: Fix [abd4abedd2]: Failed to build tk 8.6.10 with cross compile --- compat/strtol.c | 2 +- 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 == '-') { -- cgit v0.12