Displaying 1 result from an estimated 1 matches for "have_struct_tm_tm_zone".
2005 Jan 19
1
Re: [R-SIG-Mac] Formatting of time zone for POSIXct
...llowing, more paranoid patch could be used:
Index: src/main/datetime.c
===================================================================
--- src/main/datetime.c (revision 32715)
+++ src/main/datetime.c (working copy)
@@ -588,7 +588,11 @@
  #else
      tm.__tm_zone = NULL;
  #endif
+#else
+#ifdef HAVE_STRUCT_TM_TM_ZONE
+    tm.tm_zone = NULL;
  #endif
+#endif
      /* coerce fields to integer, find length of longest one */
      for(i = 0; i < 9; i++) {
Index: configure.ac
===================================================================
--- configure.ac        (revision 32715)
+++ configure.ac        (work...