summaryrefslogtreecommitdiff
path: root/tests/condvar4.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/condvar4.c')
-rw-r--r--tests/condvar4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/condvar4.c b/tests/condvar4.c
index 3babeea..c27aafb 100644
--- a/tests/condvar4.c
+++ b/tests/condvar4.c
@@ -128,7 +128,7 @@ main()
assert(cvthing.lock != PTHREAD_MUTEX_INITIALIZER);
/* get current system time */
- _ftime(&currSysTime);
+ PTW32_FTIME(&currSysTime);
abstime.tv_sec = currSysTime.time;
abstime.tv_nsec = NANOSEC_PER_MILLISEC * currSysTime.millitm;
@@ -141,7 +141,7 @@ main()
assert(pthread_create(&t[1], NULL, mythread, (void *) 1) == 0);
- _ftime(&currSysTime);
+ PTW32_FTIME(&currSysTime);
abstime.tv_sec = currSysTime.time;
abstime.tv_nsec = NANOSEC_PER_MILLISEC * currSysTime.millitm;