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:
authorAndris Mednis <Andris.Mednis@zabbix.com>2013-10-01 15:42:34 +0400
committerAndris Mednis <Andris.Mednis@zabbix.com>2013-10-01 15:42:34 +0400
commit2eaf94e2b40dc099f4dde7a3ecabc395d4a78d48 (patch)
treed52d75425d639b0ebfd2359a6cc0d2990aefafad /include/setproctitle.h
parentdb9abcd60bf92a1e0c0dfa5da9a5285061cbf79b (diff)
...G...PS. [ZBXNEXT-1855] added AIX support to setproctitle() messages
Diffstat (limited to 'include/setproctitle.h')
-rw-r--r--include/setproctitle.h5
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);