Changeset 12781


Ignore:
Timestamp:
01/30/12 16:54:49 (13 years ago)
Author:
tbretz
Message:
Icreased compatibility with different boost versions.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/Readline.cc

    r11479 r12781  
    6262#include <readline/history.h>
    6363
     64#include <boost/version.hpp>
    6465#include <boost/filesystem.hpp>
    6566
     
    109110
    110111    // Program name
     112#if BOOST_VERSION < 104700
    111113    static const string fname = boost::filesystem::path(prgname).filename();
     114#else
     115    static const string fname = boost::filesystem::path(prgname).filename().string();
     116#endif
    112117    rl_readline_name = fname.c_str();
    113118
Note: See TracChangeset for help on using the changeset viewer.