diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-08-26 03:49:19 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-08-26 03:49:19 +0000 |
commit | 632cf2de060a34f1b32ac8c24ee93c7f95a4e44f (patch) | |
tree | 217e20068ed328b8e0dcf05c6afe2adc9f244caa /libc/misc | |
parent | d71ff82e7019e91ae9f76af391e7f677d421e205 (diff) | |
download | uClibc-alpine-632cf2de060a34f1b32ac8c24ee93c7f95a4e44f.tar.bz2 uClibc-alpine-632cf2de060a34f1b32ac8c24ee93c7f95a4e44f.tar.xz |
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.
Diffstat (limited to 'libc/misc')
-rw-r--r-- | libc/misc/time/time.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |