projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba0be16
)
perl plugin: #undef macros before poisoning them.
author
Jim Radford
<radford@galvanix.com>
Sat, 10 Aug 2013 16:29:06 +0000
(09:29 -0700)
committer
Jim Radford
<radford@galvanix.com>
Sat, 10 Aug 2013 16:29:30 +0000
(09:29 -0700)
This fixes --enable-debug builds.
src/perl.c
patch
|
blob
|
history
diff --git
a/src/perl.c
b/src/perl.c
index
78e508a
..
4d77739
100644
(file)
--- a/
src/perl.c
+++ b/
src/perl.c
@@
-41,6
+41,7
@@
#include <perl.h>
#if defined(COLLECT_DEBUG) && COLLECT_DEBUG && defined(__GNUC__) && __GNUC__
+# undef sprintf
# pragma GCC poison sprintf
#endif