aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/windows-rpath.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cc/windows-rpath.cxx')
-rw-r--r--build2/cc/windows-rpath.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/cc/windows-rpath.cxx b/build2/cc/windows-rpath.cxx
index 8161cc4..46fe75b 100644
--- a/build2/cc/windows-rpath.cxx
+++ b/build2/cc/windows-rpath.cxx
@@ -102,7 +102,7 @@ namespace build2
//
timestamp t (l != nullptr
? l->load_mtime ()
- : file_mtime (f.c_str ()));
+ : mtime (f.c_str ()));
if (t > r)
r = t;
@@ -260,7 +260,7 @@ namespace build2
// through the "from scratch" update. Actually this can happen when
// switching to update-for-install.
//
- if (ts != timestamp_nonexistent && ts <= file_mtime (am))
+ if (ts != timestamp_nonexistent && ts <= mtime (am))
return;
}