From 887ae0c6eb9a10ee8f76a1465f5788077e650639 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Tue, 20 Sep 2022 18:20:00 +0300 Subject: [PATCH] fix build failure after commit 2a8d00634ddf if strtod isn't available. --- src/stdlib/SDL_string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stdlib/SDL_string.c b/src/stdlib/SDL_string.c index d5ce0010d..7e8c3a708 100644 --- a/src/stdlib/SDL_string.c +++ b/src/stdlib/SDL_string.c @@ -53,7 +53,7 @@ static unsigned UTF8_TrailingBytes(unsigned char c) return 0; } -#if !defined(HAVE_VSSCANF) || !defined(HAVE_STRTOL) +#if !defined(HAVE_VSSCANF) || !defined(HAVE_STRTOL) || !defined(HAVE_STRTOD) static size_t SDL_ScanLong(const char *text, int count, int radix, long *valuep) {