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>.
This commit is contained in:
Eli Zaretskii 2022-11-05 16:46:58 +02:00
parent ed493f6c91
commit 4321c5e562

View 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'. */