summaryrefslogtreecommitdiff
path: root/tests/test_config.h
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-12-27 21:54:04 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-12-27 21:54:04 +0000
commit05e17048d88934947e776eb73e0a2cbcd3edb700 (patch)
tree27335a30eca1a2619a31d1ba174446671f14eaf3 /tests/test_config.h
parentec3f479b793938ae8be1b27fb135b8b7a578aace (diff)
downloadATCD-05e17048d88934947e776eb73e0a2cbcd3edb700.tar.gz
ChangeLogTag: Mon Dec 27 15:51:39 1999 David L. Levine <levine@cs.wustl.edu>
Diffstat (limited to 'tests/test_config.h')
-rw-r--r--tests/test_config.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/test_config.h b/tests/test_config.h
index b575f9f1d69..c6f2079164b 100644
--- a/tests/test_config.h
+++ b/tests/test_config.h
@@ -287,7 +287,14 @@ ACE_Test_Output::set_output (const ASYS_TCHAR *filename, int append)
# endif /* ! VXWORKS */
# if !defined (ACE_LACKS_IOSTREAM_TOTALLY)
- int flags = ios::out;
+# 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