Fix macro for int128 detection (refs #8790)

[SVN r84965]
This commit is contained in:
Antony Polukhin
2013-07-07 09:51:58 +00:00
parent c3c44c208a
commit f7bd5e24c2
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -69,11 +69,11 @@
throw_exception(bad_lexical_cast(typeid(Source), typeid(Target)))
#endif
#if (defined(BOOST_LCAST_HAS_INT128) && !defined(__GNUC__)) || GCC_VERSION > 40700
// GCC 4.6 has some issues with int128 and uint128. Issues were fixed in GCC 4.7
#if defined(BOOST_HAS_INT128) && (!defined(__GNUC__) || __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 6))
#define BOOST_LCAST_HAS_INT128
#endif
namespace boost
{
// exception used to indicate runtime lexical_cast failure