From 632cf2de060a34f1b32ac8c24ee93c7f95a4e44f Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 26 Aug 2005 03:49:19 +0000 Subject: Frank Mehnert writes: libc/misc/time/time.c does not compile if __UCLIBC_HAS_TZ_FILE__ is disabled but __UCLIBC_HAS_TZ_CACHING__ is enabled. The following patch fixes this issue. --- libc/misc/time/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/misc') diff --git a/libc/misc/time/time.c b/libc/misc/time/time.c index f43bb8a3c..57ef2217a 100644 --- a/libc/misc/time/time.c +++ b/libc/misc/time/time.c @@ -1962,7 +1962,7 @@ void tzset(void) daylight = !!_time_tzinfo[1].tzname[0]; timezone = _time_tzinfo[0].gmt_offset; -#if defined(__UCLIBC_HAS_TZ_FILE__) +#if defined(__UCLIBC_HAS_TZ_FILE__) || defined(__UCLIBC_HAS_TZ_CACHING__) FAST_DONE: #endif TZUNLOCK; -- cgit v1.2.3