tnintemann / rpms / boost

Forked from rpms/boost 3 years ago
Clone

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

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