Fix #define conflicts with mingw-w64
Fix #define conflicts with mingw-w64
Merge pull request #362 from PerfectCarl/patch-3

Fix #define conflicts with mingw-w64