diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-07-31 22:04:17 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-07-31 22:04:17 +0000 |
commit | 91333c27bdc98ea872c97ec41be98fab5de4e442 (patch) | |
tree | 6a5e3d36ef87ef4fa8f6316252c58855fcf50fd1 /testsuites/samples/cdtest | |
parent | Added support for rtems_message_queue_get_number_pending. (diff) | |
download | rtems-91333c27bdc98ea872c97ec41be98fab5de4e442.tar.bz2 |
Merged very large and much appreciated patch from Chris Johns
<cjohns@plessey.com.au>. This patch includes the ods68302 bsp,
the RTEMS++ class library, and the rtems++ test.
Diffstat (limited to '')
-rw-r--r-- | testsuites/samples/cdtest/main.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuites/samples/cdtest/main.cc b/testsuites/samples/cdtest/main.cc index d55f96e9f0..e7b3cd02b3 100644 --- a/testsuites/samples/cdtest/main.cc +++ b/testsuites/samples/cdtest/main.cc @@ -21,7 +21,9 @@ #include <rtems.h> #include <stdio.h> +#ifdef RTEMS_TEST_IO_STREAM #include <iostream.h> +#endif extern "C" { extern rtems_task main_task(rtems_task_argument); @@ -108,7 +110,11 @@ cdtest(void) A bar, blech, blah; B bleak; +#ifdef RTEMS_TEST_IO_STREAM cout << "Testing a C++ I/O stream" << endl; +#else + printf("IO Stream not tested\n"); +#endif bar = blech; } |