From 5cdd2fd5ff14c113b867df969779c75fca79932e Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Fri, 29 Nov 2013 06:15:05 -0800 Subject: * configure (config_flags): New variable, allowing us to have stricter diagnosis for configure tests. (have_timegm, need_svid_source, need_bsd_source): New variables. sys/stat.h test only declares static data and compiles an object file. Adding tests for timegm, tzset, setenv and unsetenv. * eval.c (eval_init): Register new intrinsic, make_time_utc. * lib.c (make_time_impl): New static function. (make_time): Reimplemented as call to make_time_impl. (timegm_hack): New conditionally-defined static function. (make_time_utc): New function. * lib.h (make_time_utc): Declared. * txr.1: make-time-utc documented. --- lib.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib.h') diff --git a/lib.h b/lib.h index ac791ae9..c4a7f2df 100644 --- a/lib.h +++ b/lib.h @@ -682,6 +682,9 @@ val time_string_utc(val time, val format); val make_time(val year, val month, val day, val hour, val minute, val second, val isdst); +val make_time_utc(val year, val month, val day, + val hour, val minute, val second, + val isdst); void init(const wchar_t *progname, mem_t *(*oom_realloc)(mem_t *, size_t), val *stack_bottom); -- cgit v1.2.3