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 14:47:51 +0300
committerVladislavs Sokurenko <vladislavs.sokurenko@zabbix.com>2021-09-24 14:47:51 +0300
commita914b80d52a28cbe9a8879136839d4badbc4bae2 (patch)
tree59604fceb3fe12a76d2b58a4619a516fc8fa0d15 /include/common.h
parent5351ca8480b1bce879f233bda972a568b794eb03 (diff)
...G...... [ZBXNEXT-6923] initial commit of failover support in zabbix sender dll
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)