diff options
author | Simon Josefsson <simon@josefsson.org> | 2013-03-24 10:54:53 +0100 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2013-03-24 10:57:17 +0100 |
commit | 661f3b91335ed8c57abfe2713464694cb4da3d05 (patch) | |
tree | 02d707d2241b3dd06b271c2fd37c9b4fee2c9c4f /src/benchmark.c | |
parent | c81c317e46b8390cf454129b5bcf2923fcf783ae (diff) | |
download | libtasn1-661f3b91335ed8c57abfe2713464694cb4da3d05.tar.gz libtasn1-661f3b91335ed8c57abfe2713464694cb4da3d05.tar.bz2 libtasn1-661f3b91335ed8c57abfe2713464694cb4da3d05.zip |
Fix syntax-check warnings.
Diffstat (limited to 'src/benchmark.c')
-rw-r--r-- | src/benchmark.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/benchmark.c b/src/benchmark.c index 840e275..dcde7c0 100644 --- a/src/benchmark.c +++ b/src/benchmark.c @@ -28,7 +28,7 @@ int benchmark_must_finish = 0; -#if defined(_WIN32) +#if defined _WIN32 #include <windows.h> DWORD WINAPI alarm_handler (LPVOID lpParameter) @@ -90,7 +90,7 @@ start_benchmark (struct benchmark_st *st) gettime (&st->start); benchmark_must_finish = 0; -#if defined(_WIN32) +#if defined _WIN32 st->wtimer = CreateWaitableTimer (NULL, TRUE, NULL); if (st->wtimer == NULL) { @@ -126,7 +126,7 @@ stop_benchmark (struct benchmark_st *st, const char *metric) double dspeed, ddata; char imetric[16]; -#if defined(_WIN32) +#if defined _WIN32 if (st->wtimer != NULL) CloseHandle (st->wtimer); if (st->wthread != NULL) |