Commit 3186d373c09dcb5495be4d8e66bdfaa683d8307a

Authored by dg
1 parent 3d164d3c

plop


git-svn-id: http://svn.net-core.org/repos/t-engine4@3179 51575b47-30f0-44d4-a5cc-537603b46e54
Showing 1 changed file with 9 additions and 0 deletions
... ... @@ -814,6 +814,15 @@ static void define_core(core_boot_type *core_def, const char *coretype, int id,
814 814 core_def->reboot_new = reboot_new;
815 815 }
816 816
  817 +// Let some platforms use a different entry point
  818 +#ifdef USE_TENGINE_MAIN
  819 +#ifdef main
  820 +#undef main
  821 +#endif
  822 +#define main tengine_main
  823 +#endif
  824 +
  825 +
817 826 /**
818 827 * Core entry point.
819 828 */
... ...