diff options
author | Matthew Newhook <matthew@zeroc.com> | 2005-07-07 15:27:59 +0000 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2005-07-07 15:27:59 +0000 |
commit | 354bd88ca155352b612b450e8ffa9846f8aa1e00 (patch) | |
tree | a93276197ad5a3155c04d06a7b4438c8ac8c8981 /cppe/src/IceE/Time.cpp | |
parent | Fixed tests on linux (diff) | |
download | ice-354bd88ca155352b612b450e8ffa9846f8aa1e00.tar.bz2 ice-354bd88ca155352b612b450e8ffa9846f8aa1e00.tar.xz ice-354bd88ca155352b612b450e8ffa9846f8aa1e00.zip |
http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=397
Diffstat (limited to 'cppe/src/IceE/Time.cpp')
-rw-r--r-- | cppe/src/IceE/Time.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cppe/src/IceE/Time.cpp b/cppe/src/IceE/Time.cpp index b6056aa3a32..501326eec4f 100644 --- a/cppe/src/IceE/Time.cpp +++ b/cppe/src/IceE/Time.cpp @@ -65,6 +65,7 @@ Ice::Time::microSeconds(Int64 t) return Time(t); } +#ifndef _WIN32 Ice::Time::operator timeval() const { timeval tv; @@ -72,6 +73,7 @@ Ice::Time::operator timeval() const tv.tv_usec = static_cast<long>(_usec % 1000000); return tv; } +#endif Int64 Ice::Time::toSeconds() const |