PR28156, rename.c doesn't compile with MinGW
authorAlan Modra <amodra@gmail.com>
Wed, 4 Aug 2021 05:14:08 +0000 (14:44 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 4 Aug 2021 05:14:08 +0000 (14:44 +0930)
commit47fcfcbadce36c7ccc00c69b4c80717a0d6b9288
treecbc7d20e8eb72176ee93a03258967dd622ee0fae
parent010e444b2f731ca56b6fba7f4dd47df17d6e7008
PR28156, rename.c doesn't compile with MinGW

Guard against lack of struct timespec definition.

PR 28156
* rename.c (get_stat_atime, get_stat_mtime): Don't compile
unless HAVE_UTIMENSAT is defined.
binutils/rename.c