From 3505ad3753573ab33d73ce521fb9f52b3899561c Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Sun, 23 Feb 2014 22:33:35 +0100 Subject: [PATCH] Fix reds Change-Id: Ib2036d0786bd6fa39c5dadeeed83d74c7bd5c273 --- uisimulator/common/io.c | 2 ++ 1 file changed, 2 insertions(+) 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; }