projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
9c7c25a
)
Merge pull request #794 from vincentbernat/fix/kafka-warning
author
Pierre-Yves Ritschard
<pyr@spootnik.org>
Fri, 7 Nov 2014 15:27:08 +0000
(16:27 +0100)
committer
Pierre-Yves Ritschard
<pyr@spootnik.org>
Fri, 7 Nov 2014 15:27:08 +0000
(16:27 +0100)
kafka: fix compilation for older versions of librdkafka
src/write_kafka.c
patch
|
blob
|
history
diff --git
a/src/write_kafka.c
b/src/write_kafka.c
index
3e683c8
..
ba76d71
100644
(file)
--- 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 *);
-#if
def 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,