X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=plan9%2Fconfig_h.sample;h=02816711c4212efed92aa2cdb3e95d839f89fc93;hb=ed2eab3fc8323ad057527ec2d1e196bda907dcee;hp=57098120498f9850bbbf840e0dcf91f0f15d2579;hpb=666ea1927d03c6430ac8120e8603244e721e20a0;p=p5sagit%2Fp5-mst-13.2.git diff --git a/plan9/config_h.sample b/plan9/config_h.sample index 5709812..0281671 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: