summaryrefslogtreecommitdiff
path: root/tests/CDR_File_Test.cpp
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-12-22 14:24:00 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-12-22 14:24:00 +0000
commit84a0fc2f26b2ac0e921b088d1d84d2e6a1eb1138 (patch)
tree1f28808eb823451181cd5acdaacd7d8a02e6c0cf /tests/CDR_File_Test.cpp
parent573646afacffd0e685f532899f745398faa5bdaf (diff)
downloadATCD-84a0fc2f26b2ac0e921b088d1d84d2e6a1eb1138.tar.gz
ChangeLogTag: Wed Dec 22 08:22:24 1999 David L. Levine <levine@cs.wustl.edu>
Diffstat (limited to 'tests/CDR_File_Test.cpp')
-rw-r--r--tests/CDR_File_Test.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/CDR_File_Test.cpp b/tests/CDR_File_Test.cpp
index 155487601fc..deea7e6870f 100644
--- a/tests/CDR_File_Test.cpp
+++ b/tests/CDR_File_Test.cpp
@@ -30,6 +30,8 @@ USELIB("..\ace\aced.lib");
//---------------------------------------------------------------------------
#endif /* defined(__BORLANDC__) && __BORLANDC__ >= 0x0530 */
+#if !defined (ACE_LACKS_IOSTREAM_TOTALLY)
+
class CDR_Test
{
// = TITLE
@@ -288,3 +290,19 @@ main (int, ASYS_TCHAR *[])
// #pragma instantiate ACE_Auto_Basic_Array_Ptr<ACE_CDR::Char>
#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
+
+#else /* ! ACE_LACKS_IOSTREAM_TOTALLY */
+
+int
+main (int, ASYS_TCHAR *[])
+{
+ ACE_START_TEST (ASYS_TEXT ("CDR_File_Test"));
+
+ ACE_ERROR ((LM_INFO,
+ ASYS_TEXT ("iostreams not supported on this platform\n")));
+
+ ACE_END_TEST;
+ return 0;
+}
+
+#endif /* ! ACE_LACKS_IOSTREAM_TOTALLY */