mirror of
https://github.com/libretro/RetroArch
synced 2025-04-03 10:21:31 +00:00
fix iOS/tvOS build
if/else around retroarch/frontend/drivers/platform_darwin.m:743:4: Implicit declaration of function 'cpu_features_get_model_name' is invalid in C99
This commit is contained in:
parent
ebc8169b17
commit
b0cc374185
@ -771,6 +771,10 @@ frontend_ctx_driver_t frontend_ctx_darwin = {
|
|||||||
NULL, /* watch_path_for_changes */
|
NULL, /* watch_path_for_changes */
|
||||||
NULL, /* check_for_path_changes */
|
NULL, /* check_for_path_changes */
|
||||||
NULL, /* set_sustained_performance_mode */
|
NULL, /* set_sustained_performance_mode */
|
||||||
frontend_darwin_get_cpu_model_name,
|
#if (defined(OSX) && !(defined(__ppc__) || defined(__ppc64__)))
|
||||||
|
frontend_darwin_get_cpu_model_name,
|
||||||
|
#else
|
||||||
|
NULL,
|
||||||
|
#endif
|
||||||
"darwin",
|
"darwin",
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user