Use the modern MinGW major version macro, not the deprecated one.