Reimar Döffinger wrote: >S_IEXEC, S_IWRITE, S_IREAD, S_IRWXU, S_IXUSR, S_IWUSR and S_IRUSR. >No idea how to fix without making it a hack. >With making it a hack, >#ifndef S_IRGRP >#define S_IRGRP 0 >#endif >etc. would probably work.. > > better disabling those flags in mingw that adding fake macros