summaryrefslogtreecommitdiff
path: root/TAO/examples/Simple/time/Time_Client_i.cpp
diff options
context:
space:
mode:
authorErik Sohns <erik.sohns@posteo.de>2023-04-05 17:37:54 +0200
committerErik Sohns <erik.sohns@posteo.de>2023-04-05 17:37:54 +0200
commit761e24b54d7fda41ed58a6e2f41ba905e43bf3d9 (patch)
tree69171a8ba215e125cf273ab6bbe4641313df6e6a /TAO/examples/Simple/time/Time_Client_i.cpp
parent3e44fb91cf724aeb48b38169482a4878de316afc (diff)
parent9e18d338ec598e1a8da6d32a0fba5a20c76978f7 (diff)
downloadATCD-761e24b54d7fda41ed58a6e2f41ba905e43bf3d9.tar.gz
Merge branch 'message_queue_ex_get_queue' of https://github.com/esohns/ACE_TAO into message_queue_ex_get_queue
Diffstat (limited to 'TAO/examples/Simple/time/Time_Client_i.cpp')
-rw-r--r--TAO/examples/Simple/time/Time_Client_i.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/TAO/examples/Simple/time/Time_Client_i.cpp b/TAO/examples/Simple/time/Time_Client_i.cpp
index 2ffb6c48a35..87feb97e099 100644
--- a/TAO/examples/Simple/time/Time_Client_i.cpp
+++ b/TAO/examples/Simple/time/Time_Client_i.cpp
@@ -27,13 +27,8 @@ Time_Client_i::run (const char *name,
try
{
// 64-bit OS's require pointers to be aligned on an
- // 8 byte boundary. 64-bit HP-UX requires a double to do this
- // while a long does it for 64-bit Solaris.
-#if defined (HPUX)
- CORBA::Double padding = 0.0;
-#else
+ // 8 byte boundary.
CORBA::Long padding = 0;
-#endif /* HPUX */
time_t timedate;
ACE_UNUSED_ARG (padding);
@@ -42,8 +37,6 @@ Time_Client_i::run (const char *name,
timedate = static_cast <time_t> (client_->current_time ());
// Print out value
- // Use ACE_OS::ctime_r(), ctime() doesn't seem to work properly
- // under 64-bit solaris.
ACE_TCHAR ascii_timedate[64] = ACE_TEXT ("");
ACE_OS::ctime_r (&timedate, ascii_timedate, 64);