On 2024-12-18 00:34, Manuela Friedrich wrote:
> unresolved external symbol S_ISREG
OK, let's try again. I installed the first attached patch, which I hope
fixes that.
> CFLAGSW = ... -Dssize_t=__int64 ...
This doesn't feel right, as ssize_t is the type returned by 'read', and
from what I can see on microsoft.com that type is int even on 64-bit
MS-Windows. POSIX allows ssize_t to have fewer bits than size_t, so this
behavior of MS-Windows conforms to POSIX.
I installed the second attached patch to adjust the suggested definition
of ssize_t in the commentary, and you might want to adjust your
tools.ini accordingly.