diff options
author | Eugene Grigorjev <git-no-reply@zabbix.com> | 2006-07-12 13:14:46 +0400 |
---|---|---|
committer | Eugene Grigorjev <git-no-reply@zabbix.com> | 2006-07-12 13:14:46 +0400 |
commit | 3c44ccda3b18ac5ed983c2bf163439bb70f5c1e5 (patch) | |
tree | d62c05933f09bebc50d4c9c9dfa61f657ab03e54 /include/pid.h | |
parent | 525dcd4757f8356cfad70e233cbc6e0dd29bc34e (diff) |
zabbix-1.2_dev integration
Diffstat (limited to 'include/pid.h')
-rw-r--r-- | include/pid.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/pid.h b/include/pid.h index a39a66c946f..5895610b18d 100644 --- a/include/pid.h +++ b/include/pid.h @@ -20,6 +20,11 @@ #ifndef ZABBIX_PID_H #define ZABBIX_PID_H -int create_pid_file(const char *pidfile); +#if defined(WIN32) +# error "This module allowed only for Linux OS" +#endif + +int create_pid_file(const char *pidfile); +void drop_pid_file(const char *pidfile); #endif |