]> git.ipfire.org Git - ipfire-3.x.git/blob - boost/patches/boost-1.57.0-mpl-print.patch
] boost: Update to 1.60.0.
[ipfire-3.x.git] / boost / patches / boost-1.57.0-mpl-print.patch
1 diff -up boost_1_57_0/boost/mpl/print.hpp\~ boost_1_57_0/boost/mpl/print.hpp
2 --- boost_1_57_0/boost/mpl/print.hpp~ 2014-07-09 23:12:31.000000000 +0200
3 +++ boost_1_57_0/boost/mpl/print.hpp 2015-01-20 12:44:59.621400948 +0100
4 @@ -52,16 +52,15 @@ struct print
5 enum { n = sizeof(T) + -1 };
6 #elif defined(__MWERKS__)
7 void f(int);
8 -#else
9 - enum {
10 - n =
11 -# if defined(__EDG_VERSION__)
12 - aux::dependent_unsigned<T>::value > -1
13 -# else
14 - sizeof(T) > -1
15 -# endif
16 - };
17 -#endif
18 +#elif defined(__EDG_VERSION__)
19 + enum { n = aux::dependent_unsigned<T>::value > -1 };
20 +#elif defined(BOOST_GCC)
21 + enum { n1 };
22 + enum { n2 };
23 + enum { n = n1 != n2 };
24 +#else
25 + enum { n = sizeof(T) > -1 };
26 +#endif
27 };
28
29 #if defined(BOOST_MSVC)
30
31 Diff finished. Tue Jan 20 12:45:03 2015