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:
Diffstat (limited to 'include/sysinfo.h')
-rw-r--r--include/sysinfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sysinfo.h b/include/sysinfo.h
index b1592168c14..60d704ce08e 100644
--- a/include/sysinfo.h
+++ b/include/sysinfo.h
@@ -285,7 +285,11 @@ int VM_VMEMORY_SIZE(AGENT_REQUEST *request, AGENT_RESULT *result);
int SYSTEM_STAT(AGENT_REQUEST *request, AGENT_RESULT *result);
#endif
+#ifdef _WINDOWS
+typedef int (*zbx_metric_func_t)(AGENT_REQUEST *request, AGENT_RESULT *result, HANDLE timeout_event);
+#else
typedef int (*zbx_metric_func_t)(AGENT_REQUEST *request, AGENT_RESULT *result);
+#endif
typedef struct
{