X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fwrite_kafka.c;h=ba76d71f6c727e4f1b19a5514e74e1e6eb36926e;hb=4e75d09b65d0297bf2821c623282dc524b6ed2b1;hp=3e683c8432c1911f381a9f3e67deeba48c1aff99;hpb=5c78be034ebf8edbf2ae98e9163a38b2d61fbb68;p=collectd.git diff --git a/src/write_kafka.c b/src/write_kafka.c index 3e683c84..ba76d71f 100644 --- a/src/write_kafka.c +++ b/src/write_kafka.c @@ -61,7 +61,7 @@ static int kafka_write(const data_set_t *, const value_list_t *, user_data_t *); static int32_t kafka_partition(const rd_kafka_topic_t *, const void *, size_t, int32_t, void *, void *); -#ifdef HAVE_LIBRDKAFKA_LOGGER +#if defined HAVE_LIBRDKAFKA_LOGGER || defined HAVE_LIBRDKAFKA_LOG_CB static void kafka_log(const rd_kafka_t *, int, const char *, const char *); static void kafka_log(const rd_kafka_t *rkt, int level,