date :add a comment about older toolchains

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2010-11-23 00:15:19 +01:00
parent 26777aa1c6
commit 9e0f15010e

View File

@ -250,6 +250,7 @@ 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 */
#endif
} else {
#if ENABLE_FEATURE_DATE_NANO