(frontend) make macro for main entry point function

This commit is contained in:
twinaphex 2013-08-14 14:10:49 +02:00
parent 9e2e135d19
commit e8555bc1ab

View File

@ -125,10 +125,12 @@ void rarch_get_environment_console(void)
#endif
#if defined(IOS) || defined(OSX) || defined(HAVE_BB10)
int rarch_main(int argc, char *argv[])
#define main_entry rarch_main
#else
int main(int argc, char *argv[])
#define main_entry main
#endif
int main_entry(int argc, char *argv[])
{
void* args = NULL;
frontend_ctx = (frontend_ctx_driver_t*)frontend_ctx_init_first();