linux-dist: Rely on USES_HOMEDIR for home dir detection

Neither Mac nor Emscripten define USES_HOMEDIR in their Makefiles, so checking
if HOST_OS != OS_DARWIN && !defined(TARGET_EMSCRIPTEN) is pointless.
This commit is contained in:
Jan Holthuis 2015-08-11 21:36:14 +02:00
parent 60c827cf0c
commit 5fbfc0fb8b
1 changed files with 1 additions and 1 deletions

View File

@ -787,7 +787,7 @@ int main(int argc, wchar* argv[])
#endif
string home = ".";
#if defined(USES_HOMEDIR) && HOST_OS != OS_DARWIN && !defined(TARGET_EMSCRIPTEN)
#if defined(USES_HOMEDIR)
if(getenv("HOME") != NULL)
{
home = (string)getenv("HOME") + "/.reicast";