tnintemann / rpms / boost

Forked from rpms/boost 3 years ago
Clone

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

2a67b3
diff -up boost_1_57_0/boost/mpl/print.hpp\~ boost_1_57_0/boost/mpl/print.hpp
2a67b3
--- boost_1_57_0/boost/mpl/print.hpp~	2014-07-09 23:12:31.000000000 +0200
2a67b3
+++ boost_1_57_0/boost/mpl/print.hpp	2015-01-20 12:44:59.621400948 +0100
2a67b3
@@ -52,16 +52,15 @@ struct print
2a67b3
     enum { n = sizeof(T) + -1 };
2a67b3
 #elif defined(__MWERKS__)
2a67b3
     void f(int);
2a67b3
-#else 
2a67b3
-    enum {
2a67b3
-        n =
2a67b3
-# if defined(__EDG_VERSION__)
2a67b3
-           aux::dependent_unsigned<T>::value > -1
2a67b3
-# else 
2a67b3
-           sizeof(T) > -1
2a67b3
-# endif 
2a67b3
-        };
2a67b3
-#endif 
2a67b3
+#elif defined(__EDG_VERSION__)
2a67b3
+    enum { n = aux::dependent_unsigned<T>::value > -1 };
2a67b3
+#elif defined(BOOST_GCC)
2a67b3
+    enum { n1 };
2a67b3
+    enum { n2 };
2a67b3
+    enum { n = n1 != n2 };
2a67b3
+#else
2a67b3
+    enum { n = sizeof(T) > -1 };
2a67b3
+#endif
2a67b3
 };
2a67b3
 
2a67b3
 #if defined(BOOST_MSVC)
2a67b3
2a67b3
Diff finished.  Tue Jan 20 12:45:03 2015