Changeset 12824 for trunk/FACT++


Ignore:
Timestamp:
02/03/12 12:37:05 (13 years ago)
Author:
tbretz
Message:
Changed ifdef to make it compile with boost 1.46
Location:
trunk/FACT++/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/Main.h

    r12783 r12824  
    9292
    9393        const string pname = path.parent_path().string();
    94 #if BOOST_VERSION < 104700
     94#if BOOST_VERSION < 104600
    9595        const string fname = path.filename();
    9696#else
  • trunk/FACT++/src/Readline.cc

    r12781 r12824  
    110110
    111111    // Program name
    112 #if BOOST_VERSION < 104700
     112#if BOOST_VERSION < 104600
    113113    static const string fname = boost::filesystem::path(prgname).filename();
    114114#else
  • trunk/FACT++/src/ReadlineColor.cc

    r12782 r12824  
    2424bool ReadlineColor::PrintBootMsg(ostream &out, const string &name, bool interactive)
    2525{
    26 #if BOOST_VERSION < 104700
     26#if BOOST_VERSION < 104600
    2727    const string n = boost::filesystem::path(name).stem();
    2828#else
Note: See TracChangeset for help on using the changeset viewer.