Skip to content

Commit

Permalink
on win32, always use timespec_get TEST
Browse files Browse the repository at this point in the history
  • Loading branch information
aklomp committed Jan 9, 2024
1 parent 45ef09a commit ec8fc7b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/benchmark.c
Expand Up @@ -130,7 +130,8 @@ timediff_sec (base64_timespec *start, base64_timespec *end)

return (float)((diff * tb.numer) / tb.denom) / 1e9f;
}
#elif defined(_WIN32) && !(defined(__MINGW32__) || defined(__MINGW64__))
#elif defined(_WIN32)
//&& !(defined(__MINGW32__) || defined(__MINGW64__))
typedef struct timespec base64_timespec;
static void
base64_gettime (base64_timespec *o_time)
Expand Down

0 comments on commit ec8fc7b

Please sign in to comment.