]> git.proxmox.com Git - mirror_zfs-debian.git/blobdiff - lib/libspl/timestamp.c
New upstream version 0.7.2
[mirror_zfs-debian.git] / lib / libspl / timestamp.c
index a4f4cf4e47e0c8d2bbd87df3c1e9e3155ca25529..eab15f3f13f915ef9407e8187871bfc1d557b034 100644 (file)
 #include <langinfo.h>
 #include "statcommon.h"
 
+#ifndef _DATE_FMT
+#ifdef D_T_FMT
+#define        _DATE_FMT D_T_FMT
+#else /* D_T_FMT */
+#define        _DATE_FMT "%+"
+#endif /* !D_T_FMT */
+#endif /* _DATE_FMT */
+
 /*
  * Print timestamp as decimal reprentation of time_t value (-T u was specified)
  * or in date(1) format (-T d was specified).