--- a/tests/condvar3_3.c
+++ b/tests/condvar3_3.c
@@ -94,7 +94,7 @@
    assert(pthread_mutex_init(&mtx, 0) == 0);
 
    /* get current system time */
-   _ftime(&currSysTime);
+   PTW32_FTIME(&currSysTime);
 
    abstime.tv_sec = currSysTime.time;
    abstime.tv_nsec = NANOSEC_PER_MILLISEC * currSysTime.millitm;