aboutsummaryrefslogtreecommitdiff
path: root/coreutils/date.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-12-30 23:56:47 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-12-30 23:56:47 +0100
commitd1e46651a349b809e42083e3fd4d120ccb2f0c4f (patch)
tree5061d625d1eabd7a37efadbe1982866aa16a11eb /coreutils/date.c
parented9b08d1c1bbccd1bcb2c3e06b0095b6b99dc96c (diff)
downloadbusybox-d1e46651a349b809e42083e3fd4d120ccb2f0c4f.tar.gz
date: add a comment about _SVID_SOURCE
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/date.c')
-rw-r--r--coreutils/date.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/coreutils/date.c b/coreutils/date.c
index d70957cf6..a1a004d45 100644
--- a/coreutils/date.c
+++ b/coreutils/date.c
@@ -250,7 +250,10 @@ int date_main(int argc UNUSED_PARAM, char **argv)
ts.tv_sec = statbuf.st_mtime;
#if ENABLE_FEATURE_DATE_NANO
ts.tv_nsec = statbuf.st_mtim.tv_nsec;
- /* some toolchains use .st_mtimensec instead of st_mtim.tv_nsec */
+ /* Some toolchains use .st_mtimensec instead of st_mtim.tv_nsec.
+ * If you need #define SVID_SOURCE 1 to enable st_mtim.tv_nsec,
+ * drop a mail to project mailing list please
+ */
#endif
} else {
#if ENABLE_FEATURE_DATE_NANO