summaryrefslogtreecommitdiff
path: root/src/handle_dep.cc
diff options
context:
space:
mode:
authordonb <donb@gcc20.fsffrance.org>2012-01-14 04:02:15 (GMT)
committerdonb <donb@gcc20.fsffrance.org>2012-01-14 04:02:15 (GMT)
commit65a1c9cf6c8f1c69a6f9fbdc09faeb15b3dc6e4a (patch)
treee2542e3fa46d6e9faeacda39c03a84ac83272222 /src/handle_dep.cc
parent10701f71581bd4053ab328254d6abacd6956b498 (diff)
add boosty.h for compatability with boost <1.44
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