source: rtems-graphics-toolkit/fltk-1.3.0/test/rtems_main.h @ 855379e

Last change on this file since 855379e was 855379e, checked in by Alexandru-Sever Horin <alex.sever.h@…>, on Aug 1, 2012 at 8:52:27 PM

Added rtems_main.h include to ease migration to RTEMS

  • Property mode set to 100644
File size: 250 bytes
Line 
1#ifndef RTEMS_MAIN_H
2#define RTEMS_MAIN_H
3
4//transform call to main to call to rtems_main
5#define main(x,y) rtems_main(x,y)
6//#define main(x)   rtems_main(x)
7//#define main()    rtems_main()
8
9extern "C" int rtems_main(int argc, char **argv);
10
11#endif
Note: See TracBrowser for help on using the repository browser.