From 0250dc51af81650fa42983aee623c632e98d4a78 Mon Sep 17 00:00:00 2001 From: Alexei Vladishev Date: Mon, 18 Dec 2017 16:22:46 +0000 Subject: ...G...PS. [DEV-764] added ability to compile Zabbix as C++ code for stronger type safety and new class of warnings --- include/zbxtypes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/zbxtypes.h') 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 -- cgit v1.2.3