diff options
Diffstat (limited to 'plan9/config_h.sample')
-rw-r--r-- | plan9/config_h.sample | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/plan9/config_h.sample b/plan9/config_h.sample index 5709812049..02816711c4 100644 --- a/plan9/config_h.sample +++ b/plan9/config_h.sample @@ -1908,6 +1908,12 @@ * 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 + */ /* LOCALTIME_R_PROTO: * This symbol encodes the prototype of localtime_r. * It is zero if d_localtime_r is undef, and one of the @@ -1915,6 +1921,7 @@ * is defined. */ /*#define HAS_LOCALTIME_R / **/ +/*#define LOCALTIME_R_NEEDS_TZSET / **/ #define LOCALTIME_R_PROTO 0 /**/ /* HAS_LONG_DOUBLE: |