diff options
author | Bruno Haible <bruno@clisp.org> | 2021-01-02 00:14:05 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2021-01-02 01:15:46 +0100 |
commit | 2d4f9d5c5a0c6dbdc2fbe34c42fe9cd74f162af3 (patch) | |
tree | 9255e0c00edde8a8bf0ecc90b54a5b5719fa609d /doc | |
parent | bb6ecf3278cce40cfa6be693697e7995dca1a038 (diff) | |
download | gnulib-2d4f9d5c5a0c6dbdc2fbe34c42fe9cd74f162af3.tar.gz |
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.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/posix-headers/time.texi | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/posix-headers/time.texi b/doc/posix-headers/time.texi index 980212cc58..9d25ed2508 100644 --- a/doc/posix-headers/time.texi +++ b/doc/posix-headers/time.texi @@ -9,11 +9,13 @@ Portability problems fixed by Gnulib: @itemize @item @samp{struct timespec} is not defined on some platforms. - +@item +The macro @code{TIME_UTC} is not defined on many platforms: +glibc 2.15, Mac OS X 10.13, FreeBSD 6.4, NetBSD 7.1, OpenBSD 6.0, Minix 3.1.8, AIX 7.1, HP-UX 11.31, IRIX 6.5, Solaris 11.3, Cygwin 2.9, mingw, MSVC 14, Android 9.0. @item Some platforms provide a @code{NULL} macro that cannot be used in arbitrary expressions: -NetBSD 5.0 +NetBSD 5.0. @end itemize Portability problems not fixed by Gnulib: |