diff options
author | Alfred E. Heggestad <aeh@db.org> | 2016-06-05 23:08:32 +0200 |
---|---|---|
committer | Alfred E. Heggestad <aeh@db.org> | 2016-06-05 23:08:32 +0200 |
commit | 7e7251b8cb8c5f4f8490890a5a1c1706e080f45d (patch) | |
tree | 115abcf0e2c6465d3c90f36735e52e9290c3409c | |
parent | 65bd41ad6e1439accf6a247dc1f17ea3f796c59e (diff) |
conf: use macro CONFIG_PATH if defined (ref #134)
-rw-r--r-- | src/conf.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -164,8 +164,8 @@ int conf_path_get(char *path, size_t sz) return 0; } -#ifdef __ANDROID__ - str_ncpy(buf, "/data/local/tmp", sizeof(buf)); +#ifdef CONFIG_PATH + str_ncpy(buf, CONFIG_PATH, sizeof(buf)); (void)err; #else err = fs_gethome(buf, sizeof(buf)); |