Set _DATE_FMT to '%+' if not defined in libspl/timestamp.c

Signed-off-by: Carlo Landmeter <clandmeter@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #4458
This commit is contained in:
Carlo Landmeter 2016-03-01 16:23:12 +01:00 committed by Brian Behlendorf
parent 1a01c207cb
commit 43148eaef2

View File

@ -28,6 +28,10 @@
#include <langinfo.h>
#include "statcommon.h"
#ifndef _DATE_FMT
#define _DATE_FMT "%+"
#endif
/*
* Print timestamp as decimal reprentation of time_t value (-T u was specified)
* or in date(1) format (-T d was specified).