_FORTIFY_SOURCE=3 is already supported by glibc and MinGW-w64 headers. Tested on Cygwin with current gcc 13.2.1 test release. -- Regards, Christian