fs/StandardDirectory: update #ifdef for GetEnvPath()
Fixes regression from a38eabc8bc
This commit is contained in:
parent
cfbd751742
commit
3103e8d719
|
@ -145,7 +145,7 @@ GetStandardDir(int folder_id) noexcept
|
|||
|
||||
#endif
|
||||
|
||||
#ifdef USE_XDG
|
||||
#if !defined(_WIN32) && !defined(ANDROID)
|
||||
|
||||
[[gnu::pure]]
|
||||
static Path
|
||||
|
@ -179,6 +179,10 @@ GetExistingEnvDirectory(const char *name) noexcept
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef USE_XDG
|
||||
|
||||
static bool
|
||||
ParseConfigLine(std::string_view line, std::string_view dir_name,
|
||||
AllocatedPath &result_dir) noexcept
|
||||
|
|
Loading…
Reference in New Issue