[patch] Hide some stuff from mingw

Hi,
This patches hides a few things from mingw that are only valid/needed for MSVC build. Again, this change only effect mingw build. A lot of #ifdef in the code looks ugly and hopefully we can do better abstraction/separation as the support for Windows matures.

Thanks,
Abid

platform.patch (1.69 KB)

Looks good.