mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-21 17:20:50 +00:00
Fixing build on clang [#METR-2807].
This commit is contained in:
parent
0e6a5df565
commit
0536f42f8c
@ -1,3 +1,18 @@
|
|||||||
|
/// Совместимость с clang, в котором std::numeric_limits (из libstdc++ из gcc) почему-то не специализируется для __uint128_t.
|
||||||
|
#if __clang__
|
||||||
|
#include <limits>
|
||||||
|
|
||||||
|
namespace std
|
||||||
|
{
|
||||||
|
template <>
|
||||||
|
struct numeric_limits<__uint128_t>
|
||||||
|
{
|
||||||
|
static constexpr bool is_specialized = true;
|
||||||
|
static constexpr bool is_signed = false;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <boost/rational.hpp> /// Для вычислений, связанных с коэффициентами сэмплирования.
|
#include <boost/rational.hpp> /// Для вычислений, связанных с коэффициентами сэмплирования.
|
||||||
|
|
||||||
#include <DB/Core/FieldVisitors.h>
|
#include <DB/Core/FieldVisitors.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user