]> git.donarmstrong.com Git - rsem.git/blobdiff - boost/type_traits/make_signed.hpp
Updated boost to v1.55.0
[rsem.git] / boost / type_traits / make_signed.hpp
index 51cfd95ca1b692bd8d7b031857e2f70c8727adb0..7deb855572999219581188f310333bdf11dff615 100644 (file)
@@ -72,7 +72,15 @@ struct make_signed_imp
                      is_same<t_no_cv, unsigned long>,
                      long,
 #if defined(BOOST_HAS_LONG_LONG)
+#ifdef BOOST_HAS_INT128
+                     typename mpl::if_c<
+                        sizeof(t_no_cv) == sizeof(boost::long_long_type), 
+                        boost::long_long_type, 
+                        boost::int128_type
+                     >::type
+#else
                      boost::long_long_type
+#endif
 #elif defined(BOOST_HAS_MS_INT64)
                      __int64
 #else
@@ -96,7 +104,15 @@ struct make_signed_imp
                      sizeof(t_no_cv) == sizeof(unsigned long),
                      long,
 #if defined(BOOST_HAS_LONG_LONG)
+#ifdef BOOST_HAS_INT128
+                     typename mpl::if_c<
+                        sizeof(t_no_cv) == sizeof(boost::long_long_type), 
+                        boost::long_long_type, 
+                        boost::int128_type
+                     >::type
+#else
                      boost::long_long_type
+#endif
 #elif defined(BOOST_HAS_MS_INT64)
                      __int64
 #else