Allow compile in windows+mingw

Declined
#392 · Created  · Last updated

Declined pull request

I am declining this PR since the changes in PR #405 include these fixes as well.

Closed by: ·2018-12-23

Description

There were two problems when compile MOAB at windows+mingw

  1. At file mbmem.cpp, include file sys/times.h donot exists. It is therefore jugde by #ifndef _WIN32 other than #ifndef _MSC_VER

  2. 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

0 attachments

0 comments

Loading commits...