--- src/support/path.h Mon Oct 6 11:43:21 2003 +++ src/support/path.h Fri Jul 6 14:23:38 2007 @@ -55,5 +55,5 @@ // we add this macro: /// -#ifndef PATH_C +#if 0 #define Path(x) unnamed_Path; #endif --- src/client/client.C Wed Apr 12 05:37:33 2006 +++ src/client/client.C Fri Jul 6 15:47:26 2007 @@ -94,5 +94,10 @@ for (; beg != end; ++beg) { if (prefixIs(beg->leaf(), "lyx_tmpdir" + pid)) { +#include +#if BOOST_VERSION < 103400 fs::path lyxsocket = *beg / "lyxsocket"; +#else + fs::path lyxsocket = beg->path() / "lyxsocket"; +#endif if (fs::exists(lyxsocket)) { dirlist.push_back(lyxsocket);