Allow compile in windows+mingw
YUAN Hill
Branch: hillyuan/moab:master
Branch: fathomteam/moab:master
Declined
Declined pull request
I am declining this PR since the changes in PR #405 include these fixes as well.
Closed by: Vijay M·2018-12-23
I am declining this PR since the changes in PR #405 include these fixes as well.
There were two problems when compile MOAB at windows+mingw
At file mbmem.cpp, include file sys/times.h donot exists. It is therefore jugde by #ifndef _WIN32 other than #ifndef _MSC_VER
Function clock() is defined in include file time.h but not include in file MeshGeneration. A line “#include <time.h>” is added.
After these two modification, MOAB compiled successfully in windows 10 + mingw