https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100012
--- Comment #2 from cqwrteur <unlvsur at live dot com> --- Created attachment 50544 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50544&action=edit there are more issues related to this I think the problem is that DJGPP toolchain defines __unix__ macro while it is actually not a POSIX compliant system. We need to block them in a lot of places