]> Savannah Git Hosting - gnulib.git/commit
time: Define TIME_UTC.
authorBruno Haible <bruno@clisp.org>
Fri, 1 Jan 2021 23:14:05 +0000 (00:14 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 2 Jan 2021 00:15:46 +0000 (01:15 +0100)
commit2d4f9d5c5a0c6dbdc2fbe34c42fe9cd74f162af3
tree9255e0c00edde8a8bf0ecc90b54a5b5719fa609d
parentbb6ecf3278cce40cfa6be693697e7995dca1a038
time: Define TIME_UTC.

* lib/time.in.h (TIME_UTC, GNULIB_defined_TIME_UTC): New macros.
* m4/time_h.m4 (gl_HEADER_TIME_H_BODY): Set TIME_H_DEFINES_TIME_UTC.
* modules/time (Makefile.am): Substitute TIME_H_DEFINES_TIME_UTC.
* tests/test-time.c: Check that TIME_UTC is defined and a positive
integer.
* doc/posix-headers/time.texi: Mention TIME_UTC.
ChangeLog
doc/posix-headers/time.texi
lib/time.in.h
m4/time_h.m4
modules/time
tests/test-time.c