(OSX/Apple) Create main() function if HAVE_COCOA and HAVE_COCOATOUCH

are not defined
This commit is contained in:
twinaphex 2015-04-19 17:02:36 +02:00
parent e116ef72da
commit a1eb931455

View File

@ -414,3 +414,10 @@ const frontend_ctx_driver_t frontend_ctx_apple = {
frontend_apple_get_powerstate,
"apple",
};
#if !defined(HAVE_COCOA) && !defined(HAVE_COCOATOUCH)
int main(int argc, char *argv[])
{
return rarch_main(argc, argv);
}
#endif