Ignore:
Timestamp:
04/28/09 05:04:11 (13 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, 4.11, 5, master
Children:
1c5ebc5
Parents:
a263aa72
Message:

2009-04-28 Chris Johns <chrisj@…>

  • fileio/init.c, fileio/system.h, iostream/init.cc, loopback/init.c, pppd/init.c, pppd/pppdapp.c: Do not build if BSP_SMALL_MEMORY is defined. Remove this code once a better way is supported by the build system.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/samples/iostream/init.cc

    ra263aa72 rc0ec0d82  
    2424#include "system.h"
    2525
     26#if BSP_SMALL_MEMORY
     27#include <stdio.h>
     28#else
    2629#include <iostream>
     30#endif
     31
    2732#include <stdlib.h>
    2833
     
    3136)
    3237{
     38#if BSP_SMALL_MEMORY
     39  printf ("NO STDC++. MEMORY TOO SMALL");
     40#else
    3341  std::cout << "\n\n*** HELLO WORLD TEST ***" << std::endl;
    3442  std::cout << "Hello World" << std::endl;
    3543  std::cout << "*** END OF HELLO WORLD TEST ***" << std::endl;
     44#endif
    3645  exit( 0 );
    3746}
     47
Note: See TracChangeset for help on using the changeset viewer.