Эх сурвалжийг харах

tweak to get rid of warning when TZ is disabled

Mike Frysinger 20 жил өмнө
parent
commit
53bf32f39e
1 өөрчлөгдсөн 2 нэмэгдсэн , 0 устгасан
  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;
 }