Make most POSIX-specific functions optional
On RISC OS with UnixLib, sigaction and siglongjmp are available, but SA_RESETHAND is not. On RISC OS with SharedCLibrary, sigaction and siglongjmp are not available. ioctl, isatty and ENOSYS are exclusive to GCCSDK builds with either library.
Two POSIX functions are still required, but otherwise checkasm only requires standard C99/C11 functions with this MR.
-
strdup()(although it's technically in C23 as well). -
clock_gettime()(I'll look into this separately).
Edited by Cameron Cawley