Commit | Line | Data |
---|---|---|
1be3477e FF |
1 | diff -u -r ../radare2-1.5.0/libr/core/cconfig.c ./libr/core/cconfig.c |
2 | --- ../radare2-1.5.0/libr/core/cconfig.c 2017-05-30 18:46:34.000000000 +0200 | |
3 | +++ ./libr/core/cconfig.c 2017-05-30 19:39:39.339205400 +0200 | |
4 | @@ -2145,9 +2145,7 @@ | |
88e73ad5 | 5 | #endif |
1be3477e FF |
6 | SETCB ("dir.source", "", &cb_dirsrc, "Path to find source files"); |
7 | SETPREF ("dir.types", "/usr/include", "Default path to look for cparse type files"); | |
88e73ad5 | 8 | -#if __ANDROID__ |
1be3477e | 9 | - SETPREF ("dir.projects", "/data/data/org.radare.radare2installer/radare2/projects", "Default path for projects"); |
88e73ad5 FF |
10 | -#elif __WINDOWS__ |
11 | +#if __WINDOWS__ | |
1be3477e | 12 | SETPREF ("dir.projects", "~\\"R2_HOMEDIR"\\projects", "Default path for projects"); |
88e73ad5 | 13 | #else |
1be3477e FF |
14 | SETPREF ("dir.projects", "~/"R2_HOMEDIR"/projects", "Default path for projects"); |
15 | @@ -2300,9 +2298,7 @@ | |
16 | SETI ("http.maxsize", 0, "Maximum file size for upload"); | |
17 | SETPREF ("http.bind", "localhost", "Server address"); | |
18 | SETPREF ("http.homeroot", "~/.config/radare2/www", "http home root directory"); | |
88e73ad5 | 19 | -#if __ANDROID__ |
1be3477e | 20 | - SETPREF ("http.root", "/data/data/org.radare.radare2installer/www", "http root directory"); |
88e73ad5 FF |
21 | -#elif __WINDOWS__ |
22 | +#if __WINDOWS__ | |
1be3477e | 23 | SETPREF ("http.root", "www", "http root directory"); |
88e73ad5 | 24 | #else |
1be3477e | 25 | SETPREF ("http.root", R2_WWWROOT, "http root directory"); |