(Apple) Change some preprocessor conditionals to cover all bases

This commit is contained in:
twinaphex 2021-03-12 10:33:21 +01:00
parent de67a13ab9
commit 117d48c898
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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';