X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fwrite_kafka.c;h=ba76d71f6c727e4f1b19a5514e74e1e6eb36926e;hb=c963d35fb88b7db81fcf6e3db51313d9002e17b4;hp=3e683c8432c1911f381a9f3e67deeba48c1aff99;hpb=103f05e098865196fc5f28df51e99b64fd6b5202;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,