tpaviot/oce — pull request #300 by salajkav-dlubalcz (2012-09-12 08:04:44+00:00)
Title: MinGW32 compatibility fixes.

Fixes for compile errors when using MinGW32:
1. Enabling non-intrinsic InterlockedIncrement and InterlockedDecrement.
2. MEMORYSTATUSEX struct is undefined until these defines are before #include :
#define WIN32_WINNT 0x0500
#define WINVER 0x0500