mirror of
https://github.com/libretro/RetroArch
synced 2025-02-03 17:54:04 +00:00
(frontend) make macro for main entry point function
This commit is contained in:
parent
9e2e135d19
commit
e8555bc1ab
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user