summaryrefslogtreecommitdiff
path: root/tests/rwlock6_t2.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rwlock6_t2.c')
-rw-r--r--tests/rwlock6_t2.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/rwlock6_t2.c b/tests/rwlock6_t2.c
index 28de466..b8b0df9 100644
--- a/tests/rwlock6_t2.c
+++ b/tests/rwlock6_t2.c
@@ -89,11 +89,7 @@ main()
void* wr1Result = (void*)0;
void* wr2Result = (void*)0;
void* rdResult = (void*)0;
-#if (defined(__MINGW64__) || defined(__MINGW32__)) && __MSVCRT_VERSION__ >= 0x0601
- struct __timeb64 currSysTime;
-#else
- struct _timeb currSysTime;
-#endif
+ PTW32_STRUCT_TIMEB currSysTime;
const DWORD NANOSEC_PER_MILLISEC = 1000000;
PTW32_FTIME(&currSysTime);