summaryrefslogtreecommitdiff
path: root/time64.h
diff options
context:
space:
mode:
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
};