aboutsummaryrefslogtreecommitdiff
path: root/binutils/ar.c
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1995-07-01 19:28:13 +0000
committerFred Fish <fnf@specifix.com>1995-07-01 19:28:13 +0000
commit8190614e910880daea3d661e5f2ff61d3417cc32 (patch)
tree0905c9a716b8ee86dd39d6a8ddf468e4b59ba72b /binutils/ar.c
parent033d545b2979428fc117961e4119bf19986b04cc (diff)
downloadgdb-8190614e910880daea3d661e5f2ff61d3417cc32.zip
gdb-8190614e910880daea3d661e5f2ff61d3417cc32.tar.gz
gdb-8190614e910880daea3d661e5f2ff61d3417cc32.tar.bz2
* ar.c: (extract_file): Change "#if POSIX_UTIME" to
"#ifdef POSIX_UTIME" to match other tests of POSIX_UTIME and avoid lossage when POSIX_UTIME is not defined at all.
Diffstat (limited to 'binutils/ar.c')
-rw-r--r--binutils/ar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/ar.c b/binutils/ar.c
index 71918a7..7a3a477 100644
--- a/binutils/ar.c
+++ b/binutils/ar.c
@@ -727,7 +727,7 @@ extract_file (abfd)
if (preserve_dates)
{
-#if POSIX_UTIME
+#ifdef POSIX_UTIME
struct utimbuf tb;
tb.actime = buf.st_mtime;
tb.modtime = buf.st_mtime;