This commit is contained in:
Nikita Mikhaylov 2021-09-02 22:33:04 +00:00
parent 5f0b1bc4e3
commit 0f284db1fc
4 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,4 @@
#define Z_TLS = __thread
#include <zlib.h>
#include <DataTypes/DataTypeString.h>
#include <Functions/FunctionFactory.h>

View File

@ -4,6 +4,9 @@
#include <IO/BufferWithOwnMemory.h>
#include <IO/CompressionMethod.h>
/// https://github.com/zlib-ng/zlib-ng/pull/733
/// This is disabed by default
#define Z_TLS = __thread
#include <zlib.h>

View File

@ -4,6 +4,7 @@
#include <IO/BufferWithOwnMemory.h>
#include <IO/CompressionMethod.h>
#define Z_TLS = __thread
#include <zlib.h>

View File

@ -1,6 +1,8 @@
#include <unistd.h>
#include <vector>
#include <stdexcept>
#define Z_TLS = __thread
#include <zlib.h>
#pragma GCC diagnostic ignored "-Wold-style-cast"