diff options
author | H.Merijn Brand <h.m.brand@xs4all.nl> | 2006-11-06 13:58:56 +0000 |
---|---|---|
committer | H.Merijn Brand <h.m.brand@xs4all.nl> | 2006-11-06 13:58:56 +0000 |
commit | f025e94b3bdd286f2ee3dc88718b923af2a6e55d (patch) | |
tree | 410624df7e4f685c76e25179f7c78d4791c75e93 /config_h.SH | |
parent | dcb5c535ce9837c3fd7fcab63fad5d507cdd8eed (diff) | |
download | perl-f025e94b3bdd286f2ee3dc88718b923af2a6e55d.tar.gz |
The non-unix parts for localtime_r_needs_tzset
Plus forced Glossary entry. That is a TODO for automation
p4raw-id: //depot/perl@29213
Diffstat (limited to 'config_h.SH')
-rw-r--r-- | config_h.SH | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config_h.SH b/config_h.SH index 48122845f1..957c05b7f4 100644 --- a/config_h.SH +++ b/config_h.SH @@ -2287,6 +2287,12 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un * This symbol, if defined, indicates that the localtime_r routine * is available to localtime re-entrantly. */ +/* LOCALTIME_R_NEEDS_TZSET: + * Many libc's localtime_r implementations do not call tzset, + * making them differ from localtime(), and making timezone + * changes using $ENV{TZ} without explicitly calling tzset + * impossible. This symbol makes us call tzset before localtime_r + */ #$d_localtime_r_needs_tzset LOCALTIME_R_NEEDS_TZSET /**/ #ifdef LOCALTIME_R_NEEDS_TZSET #define L_R_TZSET tzset(), |