date: add a comment about _SVID_SOURCE
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
ed9b08d1c1
commit
d1e46651a3
@ -250,7 +250,10 @@ int date_main(int argc UNUSED_PARAM, char **argv)
|
|||||||
ts.tv_sec = statbuf.st_mtime;
|
ts.tv_sec = statbuf.st_mtime;
|
||||||
#if ENABLE_FEATURE_DATE_NANO
|
#if ENABLE_FEATURE_DATE_NANO
|
||||||
ts.tv_nsec = statbuf.st_mtim.tv_nsec;
|
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
|
#endif
|
||||||
} else {
|
} else {
|
||||||
#if ENABLE_FEATURE_DATE_NANO
|
#if ENABLE_FEATURE_DATE_NANO
|
||||||
|
Loading…
x
Reference in New Issue
Block a user