1
0
mirror of https://github.com/fumiama/base16384.git synced 2026-06-11 23:00:24 +08:00
This commit is contained in:
源文雨
2022-04-03 23:42:44 +08:00
parent e108b51337
commit 6e6a6fd9a4

View File

@@ -199,7 +199,7 @@ int main(int argc, char** argv) {
fputs("\t-d decode\n", stderr); fputs("\t-d decode\n", stderr);
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
} }
#ifdef __WINNT__ #ifdef _WIN32
clock_t t = clock(); clock_t t = clock();
#else #else
unsigned long t = get_start_ms(); unsigned long t = get_start_ms();
@@ -209,7 +209,7 @@ int main(int argc, char** argv) {
case 'd': decode_file(argv[2], argv[3]); break; case 'd': decode_file(argv[2], argv[3]); break;
default: break; default: break;
} }
#ifdef __WINNT__ #ifdef _WIN32
printf("spend time: %lums\n", clock() - t); printf("spend time: %lums\n", clock() - t);
#else #else
printf("spend time: %lums\n", get_start_ms() - t); printf("spend time: %lums\n", get_start_ms() - t);