From 1f902ca63eba9071da5d1da2e861fe49028d32b4 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Tue, 28 Mar 2023 06:11:44 -0700 Subject: Version 285. * RELNOTES: Updated. * configure (txr_ver): Bumped version. * stdlib/ver.tl (lib-version): Bumped. * txr.1: Bumped version and date. * txr.vim, tl.vim: Regenerated. * time.c (struct tm_wrap): Fix for platforms without HAVE_TM_ZONE. We still need tm_wrap defined, just not the zone member. Out of the platforms I build releases for, Solaris is the only one like this. --- time.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'time.c') diff --git a/time.c b/time.c index 632a9506..8f4017a1 100644 --- a/time.c +++ b/time.c @@ -44,12 +44,12 @@ #include "eval.h" #include "time.h" -#if HAVE_TM_ZONE struct tm_wrap { struct tm tm; +#if HAVE_TM_ZONE const char *zone; -}; #endif +}; val time_s, time_local_s, time_utc_s, time_string_s, time_parse_s; val year_s, month_s, day_s, hour_s, min_s, sec_s, wday_s, yday_s; -- cgit v1.2.3