summaryrefslogtreecommitdiff
path: root/time64.h
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2009-01-18 17:52:01 -0600
committerCraig A. Berry <craigberry@mac.com>2009-01-18 17:52:01 -0600
commitb02dc803f42c45a4815c46c45e05cb8758444488 (patch)
treec8ea5474a9d21550f8581be6d266e2f256bd4bc4 /time64.h
parent21b521587093ec1c2a5c9d95eb360a923a70e57f (diff)
downloadperl-b02dc803f42c45a4815c46c45e05cb8758444488.tar.gz
Not everybody (hardly anybody?) uses const for tm.tm_zone.
This probably needs refinement, possibly a new Configure variable.
Diffstat (limited to 'time64.h')
-rw-r--r--time64.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/time64.h b/time64.h
index 7545e08cf5..4d12046263 100644
--- a/time64.h
+++ b/time64.h
@@ -28,7 +28,11 @@ struct TM64 {
#endif
#ifdef HAS_TM_TM_ZONE
+# ifdef __GLIBC__
const char *tm_zone;
+# else
+ char *tm_zone;
+# endif
#endif
};