summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f950fcd)
raw | patch | inline | side by side (parent: f950fcd)
author | Doug MacEachern <dougm@hyperic.com> | |
Fri, 2 Jan 2009 21:46:34 +0000 (13:46 -0800) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sat, 17 Jan 2009 09:45:53 +0000 (10:45 +0100) |
Signed-off-by: Doug MacEachern <dougm@hyperic.com>
Signed-off-by: Florian Forster <octo@leeloo.lan.home.verplant.org>
Signed-off-by: Florian Forster <octo@leeloo.lan.home.verplant.org>
src/collectd.h | patch | blob | history |
diff --git a/src/collectd.h b/src/collectd.h
index 6fed9002e02713d6ce59e13ea5840d207cd2acc0..277a610fe75a62e3c20bf90fd1df509d6afd1514 100644 (file)
--- a/src/collectd.h
+++ b/src/collectd.h
#endif
#if defined(COLLECT_DEBUG) && COLLECT_DEBUG && defined(__GNUC__) && __GNUC__
+# undef strcpy
+# undef strcat
+# undef strtok
# pragma GCC poison strcpy strcat strtok
#endif
*/
#ifndef DONT_POISON_SPRINTF_YET
# if defined(COLLECT_DEBUG) && COLLECT_DEBUG && defined(__GNUC__) && __GNUC__
+# undef sprintf
# pragma GCC poison sprintf
# endif
#endif