From 117d48c89819054da325ac66b02cde9cab19fca0 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 12 Mar 2021 10:33:21 +0100 Subject: [PATCH] (Apple) Change some preprocessor conditionals to cover all bases --- config.def.h | 2 +- configuration.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config.def.h b/config.def.h index 753e9bb51c..a87fa6f94a 100644 --- a/config.def.h +++ b/config.def.h @@ -72,7 +72,7 @@ * we need to extract to a user-writable directory on first boot. * * Examples include: Android, iOS/OSX) */ -#if defined(ANDROID) || defined(IOS) || defined(OSX) +#if defined(ANDROID) || defined(__APPLE__) #define DEFAULT_BUNDLE_ASSETS_EXTRACT_ENABLE true #else #define DEFAULT_BUNDLE_ASSETS_EXTRACT_ENABLE false diff --git a/configuration.c b/configuration.c index fee833f00d..fb8e97c196 100644 --- a/configuration.c +++ b/configuration.c @@ -2445,7 +2445,7 @@ void config_set_defaults(void *data) *settings->paths.path_content_music_history = '\0'; *settings->paths.path_content_video_history = '\0'; *settings->paths.path_cheat_settings = '\0'; -#if !defined(IOS) && !defined(OSX) +#if !defined(__APPLE__) *settings->arrays.bundle_assets_src = '\0'; *settings->arrays.bundle_assets_dst = '\0'; *settings->arrays.bundle_assets_dst_subdir = '\0';