diff options
Diffstat (limited to 'tests/benchtest5.c')
-rw-r--r-- | tests/benchtest5.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/benchtest5.c b/tests/benchtest5.c index 0d5c360..83d59c1 100644 --- a/tests/benchtest5.c +++ b/tests/benchtest5.c @@ -53,8 +53,13 @@ sem_t sema; HANDLE w32sema; -struct _timeb currSysTimeStart; -struct _timeb currSysTimeStop; +#if (defined(__MINGW64__) || defined(__MINGW32__)) && __MSVCRT_VERSION__ >= 0x0601 + struct __timeb64 currSysTimeStart; + struct __timeb64 currSysTimeStop; +#else + struct _timeb currSysTimeStart; + struct _timeb currSysTimeStop; +#endif long durationMilliSecs; long overHeadMilliSecs = 0; int one = 1; |