summaryrefslogtreecommitdiff
path: root/print/lyx14/files/patch-boost-134
blob: 2bfe3a8f61408a5c5757a0534218574c9479931c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- 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 <boost/version.hpp>
+#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);