I thought it might not be relevant for MinGW, but with further investigation, it appears that _WIN32 should work.  Will change in next push.