summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2022-11-05 16:46:58 +0200
committerEli Zaretskii <eliz@gnu.org>2022-11-05 16:46:58 +0200
commit4321c5e5628685c5fe8d2995f6fdf510fa8462bd (patch)
tree4e8fe028f4b2ab6d04efa29c4746079b5f4fd323 /src
parented493f6c9116cc217b99c2cfa6a95f15803235a2 (diff)
downloadmake-git-4321c5e5628685c5fe8d2995f6fdf510fa8462bd.tar.gz
Fix build with Tiny C
* src/config.h.W32 (strtoll, strtoull) [__TINYC__]: Redirect to _strtoi64 and _strtoui64, respectively. Reported by Christian Jullien <eligis@orange.fr>.
Diffstat (limited to 'src')
-rw-r--r--src/config.h.W324
1 files changed, 4 insertions, 0 deletions
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 <https://www.gnu.org/licenses/>. */
/* #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'. */