for better windows compatibility

This commit is contained in:
Heng Li
2017-09-02 17:52:33 -04:00
parent b97620afed
commit 0a3ebdc916
7 changed files with 16 additions and 17 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ double cputime()
getrusage(RUSAGE_SELF, &r);
return r.ru_utime.tv_sec + r.ru_stime.tv_sec + 1e-6 * (r.ru_utime.tv_usec + r.ru_stime.tv_usec);
}
#endif /* WIN32 */
#endif /* WIN32 || _WIN32 */
double realtime()
{