diff options
author | Andrei Karas <akaras@inbox.ru> | 2020-05-11 08:49:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2020-05-11 08:49:51 +0300 |
commit | 56fcc6bb89f871b9364fc06f8a6bc7b6f9d61e85 (patch) | |
tree | ab3981647578c3059c6962171f0c8c049aebb806 | |
parent | 05365db24c641b25bc0f035483a2ddf838247f23 (diff) | |
download | mv-56fcc6bb89f871b9364fc06f8a6bc7b6f9d61e85.tar.gz mv-56fcc6bb89f871b9364fc06f8a6bc7b6f9d61e85.tar.bz2 mv-56fcc6bb89f871b9364fc06f8a6bc7b6f9d61e85.tar.xz mv-56fcc6bb89f871b9364fc06f8a6bc7b6f9d61e85.zip |
Fix wrong define check in paths.cpp
-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"); |