From: Craig A. Berry Date: Sun, 18 Jan 2009 23:52:01 +0000 (-0600) Subject: Not everybody (hardly anybody?) uses const for tm.tm_zone. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b02dc803f42c45a4815c46c45e05cb8758444488;p=p5sagit%2Fp5-mst-13.2.git Not everybody (hardly anybody?) uses const for tm.tm_zone. This probably needs refinement, possibly a new Configure variable. --- diff --git a/time64.h b/time64.h index 7545e08..4d12046 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 };