diff options
author | Alexei Vladishev <alexei.vladishev@zabbix.com> | 2017-12-18 19:22:46 +0300 |
---|---|---|
committer | Alexei Vladishev <alexei.vladishev@zabbix.com> | 2017-12-18 19:22:46 +0300 |
commit | 0250dc51af81650fa42983aee623c632e98d4a78 (patch) | |
tree | 696417f4082cb8b9063ece8657620ecc86e7edbd /include/zbxtypes.h | |
parent | 7443e021fbc6f11ff612dc85bd4feef0b9ebdd87 (diff) |
...G...PS. [DEV-764] added ability to compile Zabbix as C++ code for stronger type safety and new class of warnings
Diffstat (limited to 'include/zbxtypes.h')
-rw-r--r-- | include/zbxtypes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/zbxtypes.h b/include/zbxtypes.h index f869119cc84..523a0b957c8 100644 --- a/include/zbxtypes.h +++ b/include/zbxtypes.h @@ -159,7 +159,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_STRING(str) "" str #define ZBX_CONST_STRLEN(str) (sizeof(ZBX_CONST_STRING(str)) - 1) typedef struct |