summaryrefslogtreecommitdiff
path: root/tests/condvar3_2.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/condvar3_2.c')
-rw-r--r--tests/condvar3_2.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/condvar3_2.c b/tests/condvar3_2.c
index 192b842..4c35801 100644
--- a/tests/condvar3_2.c
+++ b/tests/condvar3_2.c
@@ -128,11 +128,7 @@ main()
int i;
pthread_t t[NUMTHREADS + 1];
void* result = (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;
assert(pthread_cond_init(&cv, NULL) == 0);