فهرست منبع

tweak to get rid of warning when TZ is disabled

Mike Frysinger 20 سال پیش
والد
کامیت
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;
 }