projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21b5215
)
Not everybody (hardly anybody?) uses const for tm.tm_zone.
author
Craig A. Berry
<craigberry@mac.com>
Sun, 18 Jan 2009 23:52:01 +0000
(17:52 -0600)
committer
Craig A. Berry
<craigberry@mac.com>
Sun, 18 Jan 2009 23:52:01 +0000
(17:52 -0600)
This probably needs refinement, possibly a new Configure variable.
time64.h
patch
|
blob
|
history
diff --git
a/time64.h
b/time64.h
index
7545e08
..
4d12046
100644
(file)
--- 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
};