diff options
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(), |