tnintemann / rpms / boost

Forked from rpms/boost 3 years ago
Clone

Blame SOURCES/boost-1.54.0-mpl-print.patch

5dffee
Index: boost/mpl/print.hpp
5dffee
===================================================================
5dffee
--- boost/mpl/print.hpp	(revision 83411)
5dffee
+++ boost/mpl/print.hpp	(working copy)
5dffee
@@ -45,22 +45,21 @@
5dffee
     : mpl::identity<T>
5dffee
 #if defined(__MWERKS__)
5dffee
     , aux::print_base
5dffee
-#endif 
5dffee
+#endif
5dffee
 {
5dffee
 #if defined(BOOST_MSVC)
5dffee
     enum { n = sizeof(T) + -1 };
5dffee
 #elif defined(__MWERKS__)
5dffee
     void f(int);
5dffee
-#else 
5dffee
-    enum {
5dffee
-        n =
5dffee
-# if defined(__EDG_VERSION__)
5dffee
-           aux::dependent_unsigned<T>::value > -1
5dffee
-# else 
5dffee
-           sizeof(T) > -1
5dffee
-# endif 
5dffee
-        };
5dffee
-#endif 
5dffee
+#elif defined(__EDG_VERSION__)
5dffee
+    enum { n = aux::dependent_unsigned<T>::value > -1 };
5dffee
+#elif defined(BOOST_GCC)
5dffee
+    enum { n1 };
5dffee
+    enum { n2 };
5dffee
+    enum { n = n1 != n2 };
5dffee
+#else
5dffee
+    enum { n = sizeof(T) > -1 };
5dffee
+#endif
5dffee
 };
5dffee
 
5dffee
 #if defined(BOOST_MSVC)