diff options
Diffstat (limited to 'firmware/common/filefuncs.c')
-rw-r--r-- | firmware/common/filefuncs.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/firmware/common/filefuncs.c b/firmware/common/filefuncs.c index 21096dac3c..2e3894b2c4 100644 --- a/firmware/common/filefuncs.c +++ b/firmware/common/filefuncs.c | |||
@@ -54,7 +54,6 @@ int strip_volume(const char* name, char* namecopy) | |||
54 | } | 54 | } |
55 | #endif /* #ifdef HAVE_MULTIVOLUME */ | 55 | #endif /* #ifdef HAVE_MULTIVOLUME */ |
56 | 56 | ||
57 | #ifndef __PCTOOL__ | ||
58 | /* Test file existence, using dircache of possible */ | 57 | /* Test file existence, using dircache of possible */ |
59 | bool file_exists(const char *file) | 58 | bool file_exists(const char *file) |
60 | { | 59 | { |
@@ -89,10 +88,10 @@ bool dir_exists(const char *path) | |||
89 | return true; | 88 | return true; |
90 | } | 89 | } |
91 | 90 | ||
92 | #endif /* __PCTOOL__ */ | 91 | #if (CONFIG_PLATFORM & PLATFORM_NATIVE) |
93 | |||
94 | struct dirinfo dir_get_info(DIR* parent, struct dirent *entry) | 92 | struct dirinfo dir_get_info(DIR* parent, struct dirent *entry) |
95 | { | 93 | { |
96 | (void)parent; | 94 | (void)parent; |
97 | return entry->info; | 95 | return entry->info; |
98 | } | 96 | } |
97 | #endif | ||