Conditional undef for MinGW