diff options
author | Thomas Martitz <kugel@rockbox.org> | 2014-02-23 22:33:35 +0100 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2014-02-23 22:33:35 +0100 |
commit | 3505ad3753573ab33d73ce521fb9f52b3899561c (patch) | |
tree | a8aff1512ad0fc8087dafcded739a2e3a7ceec31 | |
parent | 3575372e0169009f1fcf3adb164c5221903d7d3c (diff) | |
download | rockbox-3505ad3.tar.gz rockbox-3505ad3.zip |
Fix reds
Change-Id: Ib2036d0786bd6fa39c5dadeeed83d74c7bd5c273
-rw-r--r-- | uisimulator/common/io.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/uisimulator/common/io.c b/uisimulator/common/io.c index 179a919013..6662e9ffda 100644 --- a/uisimulator/common/io.c +++ b/uisimulator/common/io.c @@ -331,6 +331,7 @@ ssize_t sim_write(int fd, const void *buf, size_t count) static const char *handle_special_links(const char* link) { +#ifdef HAVE_MULTIDRIVE static char buffer[MAX_PATH]; /* sufficiently big */ char vol_string[VOL_ENUM_POS + 8]; int len = sprintf(vol_string, VOL_NAMES, 1); @@ -348,6 +349,7 @@ static const char *handle_special_links(const char* link) return buffer; } else +#endif return link; } |