Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Vladishev <aleksander.vladishev@zabbix.com>2014-08-29 16:02:09 +0400
committerAlexander Vladishev <aleksander.vladishev@zabbix.com>2014-08-29 16:02:09 +0400
commitb88ac68e6f4b077ef4b0ce57deb6ce51ebbd633a (patch)
treece2474815da020fb5ff7d810fcd1bbd59a56cd5f /include/zbxtypes.h
parentb572b9b0a67b83a45f0f80a2263940f9ea0ffe7d (diff)
...G...PS. [ZBXNEXT-101] minor code improvements
Diffstat (limited to 'include/zbxtypes.h')
-rw-r--r--include/zbxtypes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/zbxtypes.h b/include/zbxtypes.h
index f637de68f1c..47d7d0cb137 100644
--- a/include/zbxtypes.h
+++ b/include/zbxtypes.h
@@ -120,6 +120,7 @@ typedef off_t zbx_offset_t;
#define ZBX_STR2UCHAR(var, string) var = (unsigned char)atoi(string)
#define ZBX_CONST_STRING(str) ""str
+#define ZBX_CONST_STRLEN(str) (sizeof(ZBX_CONST_STRING(str)) - 1)
typedef struct
{