mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-02-10 15:58:06 +00:00
util: Don't try to use $HOME or $XDG_CONFIG_HOME on Android.
This commit is contained in:
parent
b56441702c
commit
322f6d473a
|
@ -39,7 +39,7 @@ u_config_json_close(struct u_config_json *json)
|
|||
void
|
||||
u_config_json_open_or_create_main_file(struct u_config_json *json)
|
||||
{
|
||||
#ifdef XRT_OS_LINUX
|
||||
#if defined(XRT_OS_LINUX) && !defined(XRT_OS_ANDROID)
|
||||
char tmp[1024];
|
||||
ssize_t ret = u_file_get_path_in_config_dir(CONFIG_FILE_NAME, tmp, sizeof(tmp));
|
||||
if (ret <= 0) {
|
||||
|
|
Loading…
Reference in a new issue