]> git.ipfire.org Git - thirdparty/make.git/commitdiff
Fix build with Tiny C
authorEli Zaretskii <eliz@gnu.org>
Sat, 5 Nov 2022 14:46:58 +0000 (16:46 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 5 Nov 2022 14:46:58 +0000 (16:46 +0200)
* src/config.h.W32 (strtoll, strtoull) [__TINYC__]: Redirect to
_strtoi64 and _strtoui64, respectively.  Reported by Christian
Jullien <eligis@orange.fr>.

src/config.h.W32

index 1a03a0413b9a7c2263cca0548e262ed83a4e0c4d..2fe940b76845c198e6e74b5251ecd3481bc92a49 100644 (file)
@@ -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'. */