summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);