Cleanup: quiet undefined warning

This commit is contained in:
Campbell Barton 2021-10-12 17:52:33 +11:00
parent 70fd6a313e
commit a91c6f1804
1 changed files with 1 additions and 1 deletions

View File

@ -240,7 +240,7 @@ bool BKE_appdir_folder_caches(char *r_path, const size_t path_len)
#ifdef WIN32
BLI_path_join(
r_path, path_len, caches_root_path, "Blender Foundation", "Blender", "Cache", SEP_STR, NULL);
#elif __APPLE__
#elif defined(__APPLE__)
BLI_path_join(r_path, path_len, caches_root_path, "Blender", SEP_STR, NULL);
#else /* __linux__ */
BLI_path_join(r_path, path_len, caches_root_path, "blender", SEP_STR, NULL);