summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-21 16:26:08 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:30 +0200
commitfb65c1db739361a4646c3621166cc4f3793e1e82 (patch)
treed8b127c6ee5f04ac2ce31f7740fab99d81c3eea8 /libc
parente0bcc578760ff78e43f6f5bc29ba40bff042cb1a (diff)
time.c: fix a guard to avoid a warning about unused label
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc')
-rw-r--r--libc/misc/time/time.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/misc/time/time.c b/libc/misc/time/time.c
index fd7c86d28..853ca7096 100644
--- a/libc/misc/time/time.c
+++ b/libc/misc/time/time.c
@@ -2098,7 +2098,8 @@ DONE:
daylight = !!_time_tzinfo[1].tzname[0];
timezone = _time_tzinfo[0].gmt_offset;
-#if defined(__UCLIBC_HAS_TZ_FILE__) || defined(__UCLIBC_HAS_TZ_CACHING__)
+#if (defined(__UCLIBC_HAS_TZ_FILE__) && !defined(__UCLIBC_HAS_TZ_FILE_READ_MANY__)) || \
+ defined(__UCLIBC_HAS_TZ_CACHING__)
FAST_DONE:
#endif
__UCLIBC_MUTEX_UNLOCK(_time_tzlock);