summaryrefslogtreecommitdiff
path: root/win32/config_H.vc
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2006-11-06 13:58:56 +0000
committerH.Merijn Brand <h.m.brand@xs4all.nl>2006-11-06 13:58:56 +0000
commitf025e94b3bdd286f2ee3dc88718b923af2a6e55d (patch)
tree410624df7e4f685c76e25179f7c78d4791c75e93 /win32/config_H.vc
parentdcb5c535ce9837c3fd7fcab63fad5d507cdd8eed (diff)
downloadperl-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 'win32/config_H.vc')
-rw-r--r--win32/config_H.vc7
1 files changed, 7 insertions, 0 deletions
diff --git a/win32/config_H.vc b/win32/config_H.vc
index f1d234f3fe..6e443d25d3 100644
--- a/win32/config_H.vc
+++ b/win32/config_H.vc
@@ -2259,6 +2259,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
@@ -2266,6 +2272,7 @@
* is defined.
*/
/*#define HAS_LOCALTIME_R /**/
+/*#define LOCALTIME_R_NEEDS_TZSET /**/
#define LOCALTIME_R_PROTO 0 /**/
/* HAS_LONG_DOUBLE: