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:
MrJs 2019-03-02 18:51:36 -08:00 committed by GitHub
parent ebc8169b17
commit b0cc374185
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -771,6 +771,10 @@ frontend_ctx_driver_t frontend_ctx_darwin = {
NULL, /* watch_path_for_changes */
NULL, /* check_for_path_changes */
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",
};