summaryrefslogtreecommitdiff
path: root/cpp/src/IceUtil/Time.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2012-07-19 18:26:38 +0200
committerJose <jose@zeroc.com>2012-07-19 18:26:38 +0200
commitd0994b8115bc70f04b772d21365703a3a106587d (patch)
tree1bb72b16494ab7a14a48035e9bdac02dc82b0585 /cpp/src/IceUtil/Time.cpp
parentICE-4782 Generate "#pragma once" for include-guards in generated C++ header f... (diff)
downloadice-d0994b8115bc70f04b772d21365703a3a106587d.tar.bz2
ice-d0994b8115bc70f04b772d21365703a3a106587d.tar.xz
ice-d0994b8115bc70f04b772d21365703a3a106587d.zip
Remove BCC support
Diffstat (limited to 'cpp/src/IceUtil/Time.cpp')
-rw-r--r--cpp/src/IceUtil/Time.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/cpp/src/IceUtil/Time.cpp b/cpp/src/IceUtil/Time.cpp
index b830d32412c..585335191e8 100644
--- a/cpp/src/IceUtil/Time.cpp
+++ b/cpp/src/IceUtil/Time.cpp
@@ -95,13 +95,8 @@ IceUtil::Time::now(Clock clock)
if(clock == Realtime)
{
#ifdef _WIN32
-# if defined(_MSC_VER)
struct _timeb tb;
_ftime(&tb);
-# elif defined(__BCPLUSPLUS__)
- struct timeb tb;
- ftime(&tb);
-# endif
return Time(static_cast<Int64>(tb.time) * ICE_INT64(1000000) + tb.millitm * 1000);
#else
struct timeval tv;
@@ -128,13 +123,8 @@ IceUtil::Time::now(Clock clock)
}
else
{
-# if defined(_MSC_VER)
struct _timeb tb;
_ftime(&tb);
-# elif defined(__BCPLUSPLUS__)
- struct timeb tb;
- ftime(&tb);
-# endif
return Time(static_cast<Int64>(tb.time) * ICE_INT64(1000000) + tb.millitm * 1000);
}
#elif defined(__hpux)