In a C file, that is too late, because _mingw.h defaults to 0x0502, and ours would be illegal redefintion.