diff options
author | jsorg71 <jsorg71> | 2007-10-15 04:36:25 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2007-10-15 04:36:25 +0000 |
commit | b7e71971a1091d62249c72c174495eb63bf0e9fd (patch) | |
tree | 6e9f1fc282e964d7c494ab89f2c9b7779d6a3ffc /common/os_calls.c | |
parent | e4d8ba4ce99363c460b31f7240b0eeb5db04ab05 (diff) | |
download | xrdp-proprietary-b7e71971a1091d62249c72c174495eb63bf0e9fd.tar.gz xrdp-proprietary-b7e71971a1091d62249c72c174495eb63bf0e9fd.zip |
remove CLK_TCK, not always defined
Diffstat (limited to 'common/os_calls.c')
-rw-r--r-- | common/os_calls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/os_calls.c b/common/os_calls.c index 0dd0067a..270ff323 100644 --- a/common/os_calls.c +++ b/common/os_calls.c @@ -1571,6 +1571,6 @@ g_time2(void) clock_t num_ticks; num_ticks = times(&tm); - return (int)((num_ticks / CLK_TCK) * 1000); + return (int)(num_ticks * 10); #endif } |