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:
authorVladislavs Sokurenko <vladislavs.sokurenko@zabbix.com>2021-09-24 15:36:31 +0300
committerVladislavs Sokurenko <vladislavs.sokurenko@zabbix.com>2021-09-24 15:39:28 +0300
commit965c8f8ca510dd806bf5e4b3051ae0fcbe9c753a (patch)
tree64541a8c4e83feb9615b4f3d7807a29ac86f97d0 /include/common.h
parent3107e5fe4c108f5c3415d8fc4e9c195208cd8ba9 (diff)
...G...... [ZBX-20015] fixed Zabbix agent not being able to retrieve active checks configuration on Windows
...G...... [ZBX-20015] fixed Zabbix agent not being able to retrieve active checks configuration on Windows * commit 'bf4e2c0eafced0ab56247e9af842975c50ad08da': ...G...... [ZBX-20015] fixed Zabbix agent not being able to retrieve active checks configuration on Windows (cherry picked from commit 1f2a576a216f1eb932a3af4291d0a892e2f7cd6c) (cherry picked from commit 59c08e0d89822cd71a36197aac9fff98dbf502e3)
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index 04800e09f21..e72edc6b7f2 100644
--- a/include/common.h
+++ b/include/common.h
@@ -1163,7 +1163,11 @@ void zbx_setproctitle(const char *fmt, ...) __zbx_attr_format_printf(1, 2);
#define ZBX_JAN_1970_IN_SEC 2208988800.0 /* 1970 - 1900 in seconds */
#define ZBX_MAX_RECV_DATA_SIZE (1 * ZBX_GIBIBYTE)
+#if defined(_WINDOWS)
+#define ZBX_MAX_RECV_LARGE_DATA_SIZE (1 * ZBX_GIBIBYTE)
+#else
#define ZBX_MAX_RECV_LARGE_DATA_SIZE (__UINT64_C(16) * ZBX_GIBIBYTE)
+#endif
/* max length of base64 data */
#define ZBX_MAX_B64_LEN (16 * ZBX_KIBIBYTE)