On 2025-10-24 04:25, Manuela Friedrich wrote:
> zic.c(104): error C2061: syntax error: identifier 'creat_perms'
Thanks again. I see that your platform has sys/stat.h but it does not
define mode_t as per POSIX. Let's try the attached proposed patch, which
I installed in the development repo. This simplifies the code a bit.
The idea is that we know how gid_t, mode_t and uid_t work on
MS-Windows-like platforms that have <direct.h>: the types are unsigned
short so let's just use that as a convenience (though it puzzles me why
Microsoft doesn't do that for us). On other non-POSIX platforms we can
continue to ask the builder to use something like -Dmode_t=int. (This
would be needed if a mad scientist built tzcode on UNIX System III or
earlier!)