Use standard windows-detection macros
In our code, we mostly use MS_WINDOWS to detect windows; we sometimes use WIN32 to detect windows; and we sometimes use _WIN32.
_WIN32 is standard; WIN32 is obsolete; MS_WINDOWS is our own silliness. Let's be consistent and standard and just use WIN32.