tpaviot/oce — pull request #405 by thatcadguy (2013-09-16 18:11:18+00:00)
Title: Fix locale-related errors for MinGW

Hadn't compiled on MinGW lately; tried to this morning and it failed because of locale functionality introduced in the OCCT 6.6.0 changes. Basically from my understanding, MSVCRT used by MinGW has very limited functionality for locale-specific functions that are supported by modern MSVC (e.g. vsprintf_l). The _WIN32 define falsely triggers the use of these unsupported functions and so compilation fails.