mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 10:31:57 +00:00
Merge pull request #18924 from snar/enable-kafka-on-freebsd
Restore kafka on freebsd
This commit is contained in:
commit
8004b0446f
@ -1,5 +1,4 @@
|
|||||||
# Freebsd: contrib/cppkafka/include/cppkafka/detail/endianness.h:53:23: error: 'betoh16' was not declared in this scope
|
if (NOT ARCH_ARM AND OPENSSL_FOUND)
|
||||||
if (NOT ARCH_ARM AND NOT OS_FREEBSD AND OPENSSL_FOUND)
|
|
||||||
option (ENABLE_RDKAFKA "Enable kafka" ${ENABLE_LIBRARIES})
|
option (ENABLE_RDKAFKA "Enable kafka" ${ENABLE_LIBRARIES})
|
||||||
elseif(ENABLE_RDKAFKA AND NOT OPENSSL_FOUND)
|
elseif(ENABLE_RDKAFKA AND NOT OPENSSL_FOUND)
|
||||||
message (${RECONFIGURE_MESSAGE_LEVEL} "Can't use librdkafka without SSL")
|
message (${RECONFIGURE_MESSAGE_LEVEL} "Can't use librdkafka without SSL")
|
||||||
|
@ -83,7 +83,8 @@
|
|||||||
#if (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ <= 101400)
|
#if (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ <= 101400)
|
||||||
#define _TTHREAD_EMULATE_TIMESPEC_GET_
|
#define _TTHREAD_EMULATE_TIMESPEC_GET_
|
||||||
#endif
|
#endif
|
||||||
|
#elif defined(__FreeBSD__)
|
||||||
|
#define HAVE_PTHREAD_SETNAME_FREEBSD 1
|
||||||
#else
|
#else
|
||||||
// pthread_setname_gnu
|
// pthread_setname_gnu
|
||||||
#define HAVE_PTHREAD_SETNAME_GNU 1
|
#define HAVE_PTHREAD_SETNAME_GNU 1
|
||||||
|
Loading…
Reference in New Issue
Block a user