diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2021-06-08 08:40:22 +0200 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2021-06-08 08:40:22 +0200 |
commit | 8b78a5b28039bf877a77acc625c362473c9238c3 (patch) | |
tree | c37120eaf401937134f6c482acc20b7489c286ef /ACE/tests/Time_Value_Test.cpp | |
parent | e9078b688e371a3ae6bebf232eeebb3aca293da0 (diff) | |
download | ATCD-8b78a5b28039bf877a77acc625c362473c9238c3.tar.gz |
We require each platform to provide std iostreams so define ACE_HAS_CPP98_IOSTREAMS always for backwards compability and removed the checks for it
* ACE/ace/Time_Value.cpp:
* ACE/ace/Time_Value.h:
* ACE/ace/iosfwd.h:
* ACE/tests/Time_Value_Test.cpp:
Diffstat (limited to 'ACE/tests/Time_Value_Test.cpp')
-rw-r--r-- | ACE/tests/Time_Value_Test.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ACE/tests/Time_Value_Test.cpp b/ACE/tests/Time_Value_Test.cpp index 70f281382f5..2698a6994c1 100644 --- a/ACE/tests/Time_Value_Test.cpp +++ b/ACE/tests/Time_Value_Test.cpp @@ -19,9 +19,7 @@ #include "ace/Numeric_Limits.h" -#ifdef ACE_HAS_CPP98_IOSTREAMS #include <sstream> -#endif int run_main (int, ACE_TCHAR *[]) @@ -175,7 +173,6 @@ run_main (int, ACE_TCHAR *[]) ACE_TEXT ("set_msec test failed: %d usecs should be 555000\n"), msec_test3.usec ())); -#ifdef ACE_HAS_CPP98_IOSTREAMS std::ostringstream ost; ost << ACE_Time_Value(1); ACE_TEST_ASSERT( ost.str() == "1" ); @@ -194,7 +191,6 @@ run_main (int, ACE_TCHAR *[]) ost.str(""); ost << ACE_Time_Value(); ACE_TEST_ASSERT( ost.str() == "0" ); -#endif ACE_END_TEST; |