diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2007-03-05 18:31:12 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2007-03-05 18:31:12 +0000 |
commit | f2b80bc63a39f709f072d033bf527d37457fd4ed (patch) | |
tree | 7fd3df10f47843422182b9ab773dbf77d7aa9484 /ACE/ace/Time_Value.inl | |
parent | 496ae4391a8fb5b6f655d50e3962c18ca395b2ab (diff) | |
download | ATCD-f2b80bc63a39f709f072d033bf527d37457fd4ed.tar.gz |
ChangeLogTag:Mon Mar 5 18:02:42 UTC 2007 Ossama Othman <ossama_othman at symantec dot com>
Diffstat (limited to 'ACE/ace/Time_Value.inl')
-rw-r--r-- | ACE/ace/Time_Value.inl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ACE/ace/Time_Value.inl b/ACE/ace/Time_Value.inl index c42ec35a9ce..70b8f911365 100644 --- a/ACE/ace/Time_Value.inl +++ b/ACE/ace/Time_Value.inl @@ -198,7 +198,9 @@ ACE_Time_Value::to_usec (ACE_UINT64 & usec) const { // ACE_OS_TRACE ("ACE_Time_Value::to_usec"); -#ifdef ACE_LACKS_LONGLONG_T +#if defined (ACE_LACKS_UNSIGNEDLONGLONG_T) + usec = ACE_U_LongLong (static_cast<long long> (this->tv_.tv_sec)); +#elif defined (ACE_LACKS_LONGLONG_T) // No native 64-bit type, meaning time_t is most likely 32 bits. usec = ACE_U_LongLong (this->tv_.tv_sec); #else |