Fixed mingw compilation.

I don't know how it worked previously because MEMORYSTATUSEX was there rather longer time and it needs this definition.
This commit is contained in:
deve 2014-11-26 06:46:03 +01:00
parent ea3a433147
commit cac87cce34

View File

@ -16,6 +16,11 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#ifdef __MINGW32__
#undef _WIN32_WINNT
#define _WIN32_WINNT 0x0500
#endif
#include "config/hardware_stats.hpp"
#include "config/user_config.hpp"