diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-12-28 21:53:07 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-12-28 21:53:07 +0000 |
commit | a49ef22647bd95a761f27a3cbd8991997c12f5ad (patch) | |
tree | 9ac85bc9785833a735f37ccb533d682607165470 /tests/test_config.h | |
parent | 50dd8cf76ea5b8f9dd2638328c9be9c91ffdbebb (diff) | |
download | ATCD-a49ef22647bd95a761f27a3cbd8991997c12f5ad.tar.gz |
ChangeLogTag: Tue Dec 28 15:50:46 1999 David L. Levine <levine@cs.wustl.edu>
Diffstat (limited to 'tests/test_config.h')
-rw-r--r-- | tests/test_config.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/tests/test_config.h b/tests/test_config.h index c6f2079164b..0d07b378b4a 100644 --- a/tests/test_config.h +++ b/tests/test_config.h @@ -287,21 +287,8 @@ ACE_Test_Output::set_output (const ASYS_TCHAR *filename, int append) # endif /* ! VXWORKS */ # if !defined (ACE_LACKS_IOSTREAM_TOTALLY) -# if defined (__USE_STD_IOSTREAM) - // Compaq cxx X6.3/Linux needs this. - std::ios_base::openmode -# else /* ! __USE_STD_IOSTREAM */ - int -# endif /* ! __USE_STD_IOSTREAM */ - flags = ios::out; - - if (append) - flags |= ios::app; - else - flags |= ios::trunc; - this->output_file_->open (ASYS_ONLY_MULTIBYTE_STRING (temp), - flags); + ios::out | (append ? ios::app : ios::trunc)); if (this->output_file_->bad ()) return -1; #else /* when ACE_LACKS_IOSTREAM_TOTALLY */ |