diff options
author | Eugene Grigorjev <git-no-reply@zabbix.com> | 2006-08-04 13:20:30 +0400 |
---|---|---|
committer | Eugene Grigorjev <git-no-reply@zabbix.com> | 2006-08-04 13:20:30 +0400 |
commit | 7a7c161c500531d4f72498cafd23dba0d92a7eda (patch) | |
tree | 48e86ca4f7628935828c55a20870d3f20eff852b /include/service.h | |
parent | 703bddbbe7c4dd29ae9a5de00bd6474f13bff561 (diff) |
- added ZABBIX agent for Win64 platforms. (Eugene)
Diffstat (limited to 'include/service.h')
-rwxr-xr-x | include/service.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/service.h b/include/service.h index 29af770b119..e6fae036f3d 100755 --- a/include/service.h +++ b/include/service.h @@ -20,16 +20,16 @@ #ifndef ZABBIX_SERVICE_H #define ZABBIX_SERVICE_H -#if !defined(WIN32) +#if !defined(_WINDOWS) # error "This module allowed only for Windows OS" -#endif +#endif /* _WINDOWS */ #include "threads.h" extern ZBX_THREAD_HANDLE *threads; -#define ZABBIX_SERVICE_NAME "ZabbixAgentdW32" -#define ZABBIX_EVENT_SOURCE "ZABBIX Win32 Agent" +#define ZABBIX_SERVICE_NAME APPLICATION_NAME +#define ZABBIX_EVENT_SOURCE APPLICATION_NAME void service_start(void); |