about summary refs log tree commit diff
path: root/time
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2022-09-08 20:08:32 -0500
committerPaul Eggert <eggert@cs.ucla.edu>2022-09-08 22:55:54 -0500
commit82a1ec851025ccae54dea43149915707f890746b (patch)
tree12ef5ee8628bafe86a93d4e80b54bf87d1a96507 /time
parenta23820f6052a740246fdc7dcd9c43ce8eed0c45a (diff)
downloadglibc-82a1ec851025ccae54dea43149915707f890746b.tar.gz
glibc-82a1ec851025ccae54dea43149915707f890746b.tar.xz
glibc-82a1ec851025ccae54dea43149915707f890746b.zip
Assume HAVE_TZSET in time/mktime.c
This patch does not affect glibc.  It affects only Gnulib-specific
code and is for coordination with Gnulib.
Diffstat (limited to 'time')
-rw-r--r--time/mktime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/time/mktime.c b/time/mktime.c
index 494c89bf54..aa12e28e16 100644
--- a/time/mktime.c
+++ b/time/mktime.c
@@ -94,7 +94,7 @@ my_tzset (void)
   const char *tz = getenv ("TZ");
   if (tz != NULL && strchr (tz, '/') != NULL)
     _putenv ("TZ=");
-# elif HAVE_TZSET
+# else
   tzset ();
 # endif
 }