fixes for mingw (#215)

* fix mingw

* fix mingw malloc test
This commit is contained in:
Schrodinger ZHU Yifan
2020-06-23 14:05:06 +08:00
committed by GitHub
parent e16f2aff6f
commit 8f6b8db4ed
2 changed files with 20 additions and 9 deletions

View File

@@ -6,6 +6,7 @@
#ifdef _WIN32
# ifndef _MSC_VER
# include <cstdio>
# include <utility>
# endif
# define WIN32_LEAN_AND_MEAN
# ifndef NOMINMAX