summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 12f249b)
raw | patch | inline | side by side (parent: 12f249b)
author | Florian Forster <octo@collectd.org> | |
Wed, 4 May 2016 14:37:14 +0000 (16:37 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Wed, 4 May 2016 14:37:17 +0000 (16:37 +0200) |
Issue: #1690
src/daemon/plugin.h | patch | blob | history |
diff --git a/src/daemon/plugin.h b/src/daemon/plugin.h
index 1e4b3d1815a88fb6a7594543fa855208798eadf1..73982279a665767650e41ef616731fe4960a1125 100644 (file)
--- a/src/daemon/plugin.h
+++ b/src/daemon/plugin.h
/**
- * collectd - src/plugin.h
+ * collectd - src/daemon/plugin.h
* Copyright (C) 2005-2014 Florian octo Forster
*
* Permission is hereby granted, free of charge, to any person obtaining a
#define PLUGIN_FLAGS_GLOBAL 0x0001
-#define DATA_MAX_NAME_LEN 64
+#ifndef DATA_MAX_NAME_LEN
+# define DATA_MAX_NAME_LEN 64
+#endif
#define DS_TYPE_COUNTER 0
#define DS_TYPE_GAUGE 1