Our 32-bit Windows Cygwin builds started failing because one of the
libraries they require now defines strtoll when fio already defines
strtoll. To avoid this, don't define strtoll for 32-bit Windows builds.
Failed build: https://github.com/axboe/fio/actions/runs/
9718276970/job/
26825784199
Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
return bytes_written;
}
+#ifndef _WIN32
long long strtoll(const char *restrict str, char **restrict endptr, int base)
{
return _strtoi64(str, endptr, base);
}
+#endif
int poll(struct pollfd fds[], nfds_t nfds, int timeout)
{