diff options
Diffstat (limited to 'winsup/cygwin/times.cc')
-rw-r--r-- | winsup/cygwin/times.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/times.cc b/winsup/cygwin/times.cc index 0a994a0b3..0cd7f4e00 100644 --- a/winsup/cygwin/times.cc +++ b/winsup/cygwin/times.cc @@ -56,7 +56,7 @@ times (struct tms * buf) /* Ticks is in milliseconds, convert to our ticks. Use long long to prevent overflow. */ clock_t tc = (clock_t) ((long long) ticks * CLOCKS_PER_SEC / 1000); - if (os_being_run == winNT) + if (iswinnt) { GetProcessTimes (hMainProc, &creation_time, &exit_time, &kernel_time, &user_time); |