git://developer.intra2net.com
/
bpdyndnsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
75a3fba
)
fix compile with newer boost version
author
Gerd von Egidy
<gerd.von.egidy@intra2net.com>
Mon, 25 May 2015 17:15:39 +0000 (19:15 +0200)
committer
Gerd von Egidy
<gerd.von.egidy@intra2net.com>
Mon, 25 May 2015 18:48:50 +0000 (20:48 +0200)
src/config.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/config.cpp
b/src/config.cpp
index
0285ccc
..
795b2ed
100644
(file)
--- a/
src/config.cpp
+++ b/
src/config.cpp
@@
-620,7
+620,11
@@
int Config::load_config_from_files()
{
if( fs::is_regular_file( dir_itr->status() ) )
{
+#if BOOST_FILESYSTEM_VERSION >= 3
+ string actual_file = dir_itr->path().filename().string();
+#else
string actual_file = dir_itr->path().filename();
+#endif
boost::regex expr(".*\\.conf$");
// If it is the main config file do the following
if ( actual_file == "bpdyndnsd.conf" )