Changeset 12782 for trunk/FACT++


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

Legend:

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

    r12765 r12782  
    88#include "ReadlineColor.h"
    99
     10#include <boost/version.hpp>
    1011#include <boost/filesystem.hpp>
    1112
     
    2324bool ReadlineColor::PrintBootMsg(ostream &out, const string &name, bool interactive)
    2425{
     26#if BOOST_VERSION < 104700
    2527    const string n = boost::filesystem::path(name).stem();
     28#else
     29    const string n = boost::filesystem::path(name).stem().string();
     30#endif
    2631
    2732    out << kBlue << kBold << kUnderline << "\n Master Control Program (compiled "__DATE__" " __TIME__ << ") " << endl;
Note: See TracChangeset for help on using the changeset viewer.