notaz.gp2x.de
/
libpicofe.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
allow to opt out of HOME config path
[libpicofe.git]
/
linux
/
plat.c
diff --git
a/linux/plat.c
b/linux/plat.c
index
779d5b1
..
45ae371
100644
(file)
--- a/
linux/plat.c
+++ b/
linux/plat.c
@@
-86,7
+86,7
@@
int plat_get_skin_dir(char *dst, int len)
#endif
int plat_get_root_dir(char *dst, int len)
{
-#if !defined(__GP2X__) && !defined(PANDORA)
+#if !defined(
NO_HOME_DIR) && !defined(
__GP2X__) && !defined(PANDORA)
const char *home = getenv("HOME");
int ret;