summaryrefslogtreecommitdiff
path: root/src/handle_dep.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/handle_dep.cc')
-rw-r--r--src/handle_dep.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/handle_dep.cc b/src/handle_dep.cc
index d642555..cbf7157 100644
--- a/src/handle_dep.cc
+++ b/src/handle_dep.cc
@@ -7,6 +7,7 @@
#include <boost/regex.hpp>
#include <boost/filesystem.hpp>
using namespace boost::filesystem;
+#include "boosty.h"
boost::unordered_set<std::string> dependencies;
const char *make_command = NULL;
@@ -14,7 +15,7 @@ const char *make_command = NULL;
void handle_dep(const std::string &filename)
{
path filepath(filename);
- if (filepath.is_absolute()) {
+ if ( boosty::is_absolute( filepath )) {
dependencies.insert(filename);
}
else {
contact: Jan Huwald // Impressum