]> git.pld-linux.org Git - packages/boost.git/blob - boost-1.54.0-mpl-print.patch
do not package .orig files; adapter
[packages/boost.git] / boost-1.54.0-mpl-print.patch
1 Index: boost/mpl/print.hpp
2 ===================================================================
3 --- boost/mpl/print.hpp (revision 83411)
4 +++ boost/mpl/print.hpp (working copy)
5 @@ -45,22 +45,21 @@
6      : mpl::identity<T>
7  #if defined(__MWERKS__)
8      , aux::print_base
9 -#endif 
10 +#endif
11  {
12  #if defined(BOOST_MSVC)
13      enum { n = sizeof(T) + -1 };
14  #elif defined(__MWERKS__)
15      void f(int);
16 -#else 
17 -    enum {
18 -        n =
19 -# if defined(__EDG_VERSION__)
20 -           aux::dependent_unsigned<T>::value > -1
21 -# else 
22 -           sizeof(T) > -1
23 -# endif 
24 -        };
25 -#endif 
26 +#elif defined(__EDG_VERSION__)
27 +    enum { n = aux::dependent_unsigned<T>::value > -1 };
28 +#elif defined(BOOST_GCC)
29 +    enum { n1 };
30 +    enum { n2 };
31 +    enum { n = n1 != n2 };
32 +#else
33 +    enum { n = sizeof(T) > -1 };
34 +#endif
35  };
36  
37  #if defined(BOOST_MSVC)
This page took 0.062248 seconds and 3 git commands to generate.