Skip to content
Snippets Groups Projects
Commit 99de67fb authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fix for windows

parent 159af57d
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,16 @@
* at Sandia National Laboratories under US Department of Energy *
* contract DE-AC04-76DP00789 and is copyrighted by Sandia Corporation. */
/* Added for Gmsh */
#if defined(WIN32) && !defined(__CYGWIN__)
double seconds()
{
return 0.;
}
#else
#include <sys/time.h>
#include <sys/resource.h>
......@@ -29,3 +39,5 @@ double seconds()
return (curtime);
}
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment