projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
21b5215
)
Not everybody (hardly anybody?) uses const for tm.tm_zone.
Craig A. Berry [Sun, 18 Jan 2009 23:52:01 +0000 (17:52 -0600)]
This probably needs refinement, possibly a new Configure variable.
time64.h
patch
|
blob
|
blame
|
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
};