diff options
Diffstat (limited to 'lib/libspl')
-rw-r--r-- | lib/libspl/timestamp.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libspl/timestamp.c b/lib/libspl/timestamp.c index e2838da12..eab15f3f1 100644 --- a/lib/libspl/timestamp.c +++ b/lib/libspl/timestamp.c @@ -29,8 +29,12 @@ #include "statcommon.h" #ifndef _DATE_FMT +#ifdef D_T_FMT +#define _DATE_FMT D_T_FMT +#else /* D_T_FMT */ #define _DATE_FMT "%+" -#endif +#endif /* !D_T_FMT */ +#endif /* _DATE_FMT */ /* * Print timestamp as decimal reprentation of time_t value (-T u was specified) |