diff options
author | Andris Mednis <Andris.Mednis@zabbix.com> | 2013-10-01 15:42:34 +0400 |
---|---|---|
committer | Andris Mednis <Andris.Mednis@zabbix.com> | 2013-10-01 15:42:34 +0400 |
commit | 2eaf94e2b40dc099f4dde7a3ecabc395d4a78d48 (patch) | |
tree | d52d75425d639b0ebfd2359a6cc0d2990aefafad /include/setproctitle.h | |
parent | db9abcd60bf92a1e0c0dfa5da9a5285061cbf79b (diff) |
...G...PS. [ZBXNEXT-1855] added AIX support to setproctitle() messages
Diffstat (limited to 'include/setproctitle.h')
-rw-r--r-- | include/setproctitle.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/setproctitle.h b/include/setproctitle.h index 6623b735b11..e7e070fbd7f 100644 --- a/include/setproctitle.h +++ b/include/setproctitle.h @@ -22,9 +22,14 @@ #if defined(__linux__) /* Linux */ # define PS_OVERWRITE_ARGV +#elif defined(_AIX) /* AIX */ +# define PS_OVERWRITE_ARGV +# define PS_CONCAT_ARGV #elif defined(__sun) && defined(__SVR4) /* Solaris */ # define PS_OVERWRITE_ARGV # define PS_APPEND_ARGV +#elif defined(HAVE_SYS_PSTAT_H) /* HP-UX */ +# define PS_PSTAT_ARGV #endif char ** setproctitle_save_env(int argc, char **argv); |