diff options
-rw-r--r-- | src/fs/paths.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/paths.cpp b/src/fs/paths.cpp index 1e76f249d..a639dacba 100644 --- a/src/fs/paths.cpp +++ b/src/fs/paths.cpp @@ -257,7 +257,7 @@ std::string getHomePath() #else // defined(UNITTESTS) && defined(UNITESTSDIR) #ifdef WIN32 return getSpecialFolderLocation(CSIDL_LOCAL_APPDATA); -#elif __SWITCH__ +#elif defined(__SWITCH__) return VirtFs::getBaseDir(); #else const char *path = getenv("HOME"); |