ops.cc (last_write_time): Set timespec members explicitly instead of with a braced...
authorJonathan Wakely <jwakely@redhat.com>
Sat, 2 May 2015 09:51:49 +0000 (10:51 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Sat, 2 May 2015 09:51:49 +0000 (10:51 +0100)
commit58f270df2501206548bc691b93d18b3844aef550
tree27ef7457837a52d6cefb1efc9294e8242996acae
parent4afeb6fcf5299c8d0192d687c6119e00d4c41dcb
ops.cc (last_write_time): Set timespec members explicitly instead of with a braced-init-list.

* src/filesystem/ops.cc (last_write_time) [_GLIBCXX_USE_UTIMENSAT]:
Set timespec members explicitly instead of with a braced-init-list.
[_GLIBCXX_HAVE_UTIME_H]: Use lambda to handle st_atime being a macro.

From-SVN: r222718
libstdc++-v3/ChangeLog
libstdc++-v3/src/filesystem/ops.cc