regressions: fix printing timevalues in MinGW.

ck_pring
David Joseph 12 years ago
parent ef2ad6b998
commit 8c88190557

@ -240,6 +240,10 @@ main(int argc, char *argv[])
common_gettimeofday(&etv, NULL);
stack_assert();
#ifdef _WIN32
printf("%3llu %.6f\n", nthr, TVTOD(etv) - TVTOD(stv));
#else
printf("%3llu %.6lf\n", nthr, TVTOD(etv) - TVTOD(stv));
#endif
return 0;
}

@ -260,6 +260,10 @@ main(int argc, char *argv[])
common_gettimeofday(&etv, NULL);
stack_assert();
#ifdef _WIN32
printf("%3llu %.6f\n", nthr, TVTOD(etv) - TVTOD(stv));
#else
printf("%3llu %.6lf\n", nthr, TVTOD(etv) - TVTOD(stv));
#endif
return 0;
}

@ -239,6 +239,10 @@ main(int argc, char *argv[])
common_gettimeofday(&etv, NULL);
stack_assert();
#ifdef _WIN32
printf("%3llu %.6f\n", nthr, TVTOD(etv) - TVTOD(stv));
#else
printf("%3llu %.6lf\n", nthr, TVTOD(etv) - TVTOD(stv));
#endif
return 0;
}

Loading…
Cancel
Save