diff options
Diffstat (limited to 'tests/stress1.c')
-rw-r--r-- | tests/stress1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/stress1.c b/tests/stress1.c index 3588361..fb50124 100644 --- a/tests/stress1.c +++ b/tests/stress1.c @@ -117,7 +117,7 @@ millisecondsFromNow (struct timespec * time, int millisecs) const int64_t NANOSEC_PER_SEC = 1000000000; /* get current system time and add millisecs */ - _ftime(&currSysTime); + PTW32_FTIME(&currSysTime); secs = (int64_t)(currSysTime.time) + (millisecs / 1000); nanosecs = ((int64_t) (millisecs%1000 + currSysTime.millitm)) * NANOSEC_PER_MILLISEC; |