summaryrefslogtreecommitdiff
path: root/tests/condvar2_1.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/condvar2_1.c')
-rw-r--r--tests/condvar2_1.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/condvar2_1.c b/tests/condvar2_1.c
index 7607abd..3486d21 100644
--- a/tests/condvar2_1.c
+++ b/tests/condvar2_1.c
@@ -106,11 +106,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);