Skip to content
Browse files

ensure that BOOST_LCAST_HAS_INT128 is set only if BOOST_HAS_INT128 is…

… set

also added ChangeLog
  • Loading branch information...
1 parent b3ed62f commit e0990ebdb3b813c09d0b27021c1d5c79aaff48f3 @eddelbuettel committed Apr 13, 2014
Showing with 8 additions and 0 deletions.
  1. +6 −0 ChangeLog
  2. +2 −0 inst/include/boost/lexical_cast.hpp
View
6 ChangeLog
@@ -0,0 +1,6 @@
+2014-04-13 Dirk Eddelbuettel <edd@debian.org>
+
+ * lexical_cast.hpp (BOOST_LCAST_HAS_INT128): ensure that
+ BOOST_LCAST_HAS_INT128 is set only if BOOST_HAS_INT128 is set
+
+ * ChangeLog: Started. Better late than never.
View
2 inst/include/boost/lexical_cast.hpp
@@ -69,9 +69,11 @@
throw_exception(bad_lexical_cast(typeid(Source), typeid(Target)))
#endif
+#if defined(BOOST_HAS_INT128)
#if (defined(BOOST_LCAST_HAS_INT128) && !defined(__GNUC__)) || GCC_VERSION > 40700
#define BOOST_LCAST_HAS_INT128
#endif
+#endif
namespace boost

0 comments on commit e0990eb

Please sign in to comment.
Something went wrong with that request. Please try again.