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

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
 };