Browse Source

tweak to get rid of warning when TZ is disabled

Mike Frysinger 20 years ago
parent
commit
53bf32f39e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      libc/misc/time/time.c

+ 2 - 0
libc/misc/time/time.c

@@ -1939,7 +1939,9 @@ void tzset(void)
 	daylight = !!_time_tzinfo[1].tzname[0];
 	timezone = _time_tzinfo[0].gmt_offset;
 
+#if defined(__UCLIBC_HAS_TZ_FILE__)
  FAST_DONE:
+#endif
 	TZUNLOCK;
 }