summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-12-01 20:36:40 +0000
committerbrunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-12-01 20:36:40 +0000
commit53076202f552fbf213b8a0ea213e71c930953fe4 (patch)
treeaed417d63b9f56b1aa1b52b16e442f64fc3d1e49
parent15bb7d5ad641d63151fd9b8646d355ce39f9d848 (diff)
downloadATCD-53076202f552fbf213b8a0ea213e71c930953fe4.tar.gz
Made it behave better with the new stdcpp.h
-rw-r--r--tests/test_config.h21
1 files changed, 16 insertions, 5 deletions
diff --git a/tests/test_config.h b/tests/test_config.h
index 47209bdc8fb..2649296e4b9 100644
--- a/tests/test_config.h
+++ b/tests/test_config.h
@@ -21,12 +21,23 @@
// The second #undef protects against being reset in a config.h file.
#undef ACE_NDEBUG
-#if defined (ACE_HAS_MINIMUM_IOSTREAMH_INCLUSION)
-# include /**/ <iostream.h>
+#include "ace/stdcpp.h"
+
+#if defined (ACE_HAS_STANDARD_CPP_LIBRARY) && (ACE_HAS_STANDARD_CPP_LIBRARY != 0)
+# include /**/ <fstream>
+
+# if defined (ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB) && \
+ (ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB != 0)
+ using std::ofstream;
+ using std::ios;
+# endif /* ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB */
+
+#else /* ACE_HAS_STANDARD_CPP_LIBRARY */
# include /**/ <fstream.h>
-#else
-# include "ace/stdcpp.h"
-#endif /* ACE_HAS_MINIMUM_IOSTREAMH_INCLUSION */
+#endif /* ACE_HAS_STANDARD_CPP_LIBRARY */
+
+
+
#if !defined (ACE_HAS_TEMPLATE_SPECIALIZATION)
class KEY