summaryrefslogtreecommitdiff
path: root/ACE/ace/OS_NS_sys_time.inl
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/OS_NS_sys_time.inl')
-rw-r--r--ACE/ace/OS_NS_sys_time.inl15
1 files changed, 0 insertions, 15 deletions
diff --git a/ACE/ace/OS_NS_sys_time.inl b/ACE/ace/OS_NS_sys_time.inl
index ba9ec109a7b..8ebfb405853 100644
--- a/ACE/ace/OS_NS_sys_time.inl
+++ b/ACE/ace/OS_NS_sys_time.inl
@@ -26,25 +26,10 @@ ACE_OS::gettimeofday ()
}
return ACE_Time_Value (ts);
-
-#elif defined (ACE_WIN32) && defined (ACE_LACKS_GETSYSTEMTIMEASFILETIME)
- SYSTEMTIME tsys;
- FILETIME tfile;
- ::GetSystemTime (&tsys);
- ::SystemTimeToFileTime (&tsys, &tfile);
- return ACE_Time_Value (tfile);
#elif defined (ACE_WIN32)
FILETIME tfile;
::GetSystemTimeAsFileTime (&tfile);
return ACE_Time_Value (tfile);
-#elif defined (ACE_HAS_AIX_HI_RES_TIMER)
- timebasestruct_t tb;
-
- ::read_real_time (&tb, TIMEBASE_SZ);
- ::time_base_to_time (&tb, TIMEBASE_SZ);
-
- tv.tv_sec = tb.tb_high;
- tv.tv_usec = tb.tb_low / 1000L;
#else
# if defined (ACE_HAS_TIMEZONE_GETTIMEOFDAY) || \
defined (ACE_HAS_VOIDPTR_GETTIMEOFDAY) || \