1
0
mirror of https://frontier.innolan.net/rainlance/amiga-tz.git synced 2026-05-07 03:27:35 +00:00

Add strftime_l to the library. Only the C locale is supported.

* Makefile, NEWS: Document this.
* private.h (HAVE_STRFTIME_L): New macro.
* strftime.c (strftime_l) [HAVE_STRFTIME_L]: New function.
This commit is contained in:
Paul Eggert
2014-08-24 17:05:48 -07:00
parent 0e1d8b9d99
commit 9f7d50ae1c
4 changed files with 25 additions and 0 deletions

View File

@@ -115,6 +115,8 @@ LDLIBS=
# -DHAVE_SETTIMEOFDAY=2 if settimeofday uses 2nd arg (4.3BSD)
# -DHAVE_SETTIMEOFDAY=3 if settimeofday ignores 2nd arg (4.4BSD)
# -DHAVE_STDINT_H=1 if you have a pre-C99 compiler with "stdint.h"
# -DHAVE_STRFTIME_L=1 if <time.h> declares locale_t and strftime_l
# This defaults to 0 if _POSIX_VERSION < 200809, 1 otherwise.
# -DHAVE_SYMLINK=0 if your system lacks the symlink function
# -DHAVE_SYS_STAT_H=0 if your compiler lacks a "sys/stat.h"
# -DHAVE_SYS_WAIT_H=0 if your compiler lacks a "sys/wait.h"