diff options
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/filefuncs.h | 3 | ||||
-rw-r--r-- | firmware/export/rbpaths.h | 4 |
2 files changed, 1 insertions, 6 deletions
diff --git a/firmware/export/filefuncs.h b/firmware/export/filefuncs.h index 3d4e73ad9f..92e97f65b0 100644 --- a/firmware/export/filefuncs.h +++ b/firmware/export/filefuncs.h | |||
@@ -31,10 +31,9 @@ | |||
31 | int strip_volume(const char* name, char* namecopy); | 31 | int strip_volume(const char* name, char* namecopy); |
32 | #endif | 32 | #endif |
33 | 33 | ||
34 | #ifndef __PCTOOL__ | ||
35 | bool file_exists(const char *file); | 34 | bool file_exists(const char *file); |
36 | bool dir_exists(const char *path); | 35 | bool dir_exists(const char *path); |
37 | #endif | 36 | |
38 | extern struct dirinfo dir_get_info(DIR* parent, struct dirent *entry); | 37 | extern struct dirinfo dir_get_info(DIR* parent, struct dirent *entry); |
39 | 38 | ||
40 | #endif /* __INCLUDE_FILEFUNCS_H_ */ | 39 | #endif /* __INCLUDE_FILEFUNCS_H_ */ |
diff --git a/firmware/export/rbpaths.h b/firmware/export/rbpaths.h index c60ebdf2af..d50f66d72d 100644 --- a/firmware/export/rbpaths.h +++ b/firmware/export/rbpaths.h | |||
@@ -30,11 +30,7 @@ | |||
30 | /* name of directory where configuration, fonts and other data | 30 | /* name of directory where configuration, fonts and other data |
31 | * files are stored */ | 31 | * files are stored */ |
32 | #ifdef __PCTOOL__ | 32 | #ifdef __PCTOOL__ |
33 | #undef ROCKBOX_DIR | ||
34 | #undef ROCKBOX_DIR_LEN | ||
35 | #undef WPS_DIR | 33 | #undef WPS_DIR |
36 | #define ROCKBOX_DIR "." | ||
37 | #define ROCKBOX_DIR_LEN 1 | ||
38 | #else | 34 | #else |
39 | 35 | ||
40 | /* ROCKBOX_DIR is now defined in autoconf.h for flexible build types */ | 36 | /* ROCKBOX_DIR is now defined in autoconf.h for flexible build types */ |