forked from Imagelibrary/rtems
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.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user