Better fix of std::numeric_limits<__uint128_t> (#1585)

* Fix std::numeric_limits<__uint128_t>

* clean

* Better fix of std::numeric_limits<__uint128_t>
This commit is contained in:
proller 2017-12-04 19:12:56 +03:00 committed by GitHub
parent 4c3dfb97df
commit 826936cf9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,8 @@
#include <Parsers/ASTSampleRatio.h>
/// Allow to use __uint128_t as a template parameter for boost::rational.
#if defined(__GNUC__) && !defined(__clang__)
// https://stackoverflow.com/questions/41198673/uint128-t-not-working-with-clang-and-libstdc
#if !defined(__GLIBCXX_BITSIZE_INT_N_0)
namespace std
{
template <>