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
|
#endif
|
||||||
|
|
||||||
#ifdef USE_XDG
|
#if !defined(_WIN32) && !defined(ANDROID)
|
||||||
|
|
||||||
[[gnu::pure]]
|
[[gnu::pure]]
|
||||||
static Path
|
static Path
|
||||||
|
@ -179,6 +179,10 @@ GetExistingEnvDirectory(const char *name) noexcept
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef USE_XDG
|
||||||
|
|
||||||
static bool
|
static bool
|
||||||
ParseConfigLine(std::string_view line, std::string_view dir_name,
|
ParseConfigLine(std::string_view line, std::string_view dir_name,
|
||||||
AllocatedPath &result_dir) noexcept
|
AllocatedPath &result_dir) noexcept
|
||||||
|
|
Loading…
Reference in New Issue