mirror of
https://frontier.innolan.net/rainlance/amiga-tz.git
synced 2025-11-21 06:14:09 +00:00
simplified #if
SCCS-file: date.c SCCS-SID: 7.21
This commit is contained in:
committed by
Paul Eggert
parent
bef4e4c0cc
commit
0c5580d4fa
4
date.c
4
date.c
@ -497,9 +497,9 @@ const char * const format;
|
||||
|
||||
(void) time(&now);
|
||||
tm = *localtime(&now);
|
||||
#if HAVE_SETLOCALE - 0
|
||||
#if HAVE_SETLOCALE
|
||||
setlocale(LC_TIME, "");
|
||||
#endif /* HAVE_SETLOCALE - 0 */
|
||||
#endif /* HAVE_SETLOCALE */
|
||||
timeout(stdout, format ? format : "%+", &tm);
|
||||
(void) putchar('\n');
|
||||
(void) fflush(stdout);
|
||||
|
||||
Reference in New Issue
Block a user