summaryrefslogtreecommitdiff
path: root/libc/misc/time/strftime.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/time/strftime.c')
-rw-r--r--libc/misc/time/strftime.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libc/misc/time/strftime.c b/libc/misc/time/strftime.c
index 8529446eb..4dd3d7dd0 100644
--- a/libc/misc/time/strftime.c
+++ b/libc/misc/time/strftime.c
@@ -145,10 +145,8 @@ size_t strftime( char *s , size_t maxsize , const char *format , register const
#if HAVE_TM_ZONE
zone = (const char *) tp->tm_zone;
#endif
-#if HAVE_TZNAME
if (!(zone && *zone) && tp->tm_isdst >= 0)
zone = tzname[tp->tm_isdst];
-#endif
if (!(zone && *zone))
zone = "???";