mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-22 09:40:49 +00:00
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:
parent
4c3dfb97df
commit
826936cf9b
@ -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 <>
|
||||
|
Loading…
Reference in New Issue
Block a user