summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2020-05-11 08:49:51 +0300
committerAndrei Karas <akaras@inbox.ru>2020-05-11 08:49:51 +0300
commit56fcc6bb89f871b9364fc06f8a6bc7b6f9d61e85 (patch)
treeab3981647578c3059c6962171f0c8c049aebb806
parent05365db24c641b25bc0f035483a2ddf838247f23 (diff)
downloadManaVerse-56fcc6bb89f871b9364fc06f8a6bc7b6f9d61e85.tar.gz
ManaVerse-56fcc6bb89f871b9364fc06f8a6bc7b6f9d61e85.tar.bz2
ManaVerse-56fcc6bb89f871b9364fc06f8a6bc7b6f9d61e85.tar.xz
ManaVerse-56fcc6bb89f871b9364fc06f8a6bc7b6f9d61e85.zip
Fix wrong define check in paths.cpp
-rw-r--r--src/fs/paths.cpp2
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");