From: Eli Zaretskii Date: Sat, 5 Nov 2022 14:46:58 +0000 (+0200) Subject: Fix build with Tiny C X-Git-Tag: 4.4.0.90~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4321c5e5628685c5fe8d2995f6fdf510fa8462bd;p=thirdparty%2Fmake.git Fix build with Tiny C * src/config.h.W32 (strtoll, strtoull) [__TINYC__]: Redirect to _strtoi64 and _strtoui64, respectively. Reported by Christian Jullien . --- diff --git a/src/config.h.W32 b/src/config.h.W32 index 1a03a041..2fe940b7 100644 --- a/src/config.h.W32 +++ b/src/config.h.W32 @@ -343,6 +343,10 @@ this program. If not, see . */ /* #undef HAVE_STRSIGNAL */ /* Define to 1 if you have the `strtoll' function. */ ++#ifdef __TINYC__ ++#define strtoll _strtoi64 ++#define strtoull _strtoui64 ++#endif #define HAVE_STRTOLL 1 /* Define to 1 if `d_type' is a member of `struct dirent'. */