From 56fcc6bb89f871b9364fc06f8a6bc7b6f9d61e85 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 11 May 2020 08:49:51 +0300 Subject: Fix wrong define check in paths.cpp --- src/fs/paths.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fs') 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"); -- cgit v1.2.3-60-g2f50