aboutsummaryrefslogtreecommitdiff
path: root/build/search.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-06-18 17:27:25 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-06-18 17:27:25 +0200
commit902f3763af4931c5c04c47d10e4d24dba96487cd (patch)
tree9b91c7e1636bdaf5b3f6b1800a0793977ecacd46 /build/search.cxx
parent501ce5993f3d52208696c81248829247da7b46b5 (diff)
Move path_mtime to filesystem, rename file_mtime, follow symlinks
Diffstat (limited to 'build/search.cxx')
-rw-r--r--build/search.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/build/search.cxx b/build/search.cxx
index ee6e20f..feff123 100644
--- a/build/search.cxx
+++ b/build/search.cxx
@@ -7,6 +7,8 @@
#include <utility> // move()
#include <cassert>
+#include <butl/filesystem>
+
#include <build/scope>
#include <build/target>
#include <build/prerequisite>
@@ -78,7 +80,7 @@ namespace build
f += e;
}
- timestamp mt (path_mtime (f));
+ timestamp mt (file_mtime (f));
if (mt == timestamp_nonexistent)
continue;