add __MINGW32__ definition
Merge branch 'mingw32-definition'