diff options
author | Brad King <brad.king@kitware.com> | 2006-03-08 18:06:46 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-03-08 18:06:46 (GMT) |
commit | bde71e96682c95485190acd20090e53943d27c04 (patch) | |
tree | 7f91347a39e868a3d89d4a92e91cfdd34bdc2b3d /Source/kwsys/ProcessUNIX.c | |
parent | 6fb7bac0131d3ae6b530bf59efbf702bf7dc781e (diff) | |
download | CMake-bde71e96682c95485190acd20090e53943d27c04.zip CMake-bde71e96682c95485190acd20090e53943d27c04.tar.gz CMake-bde71e96682c95485190acd20090e53943d27c04.tar.bz2 |
ENH: Enabled process tree killing on AIX.
Diffstat (limited to 'Source/kwsys/ProcessUNIX.c')
-rw-r--r-- | Source/kwsys/ProcessUNIX.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/ProcessUNIX.c b/Source/kwsys/ProcessUNIX.c index 7ec19bc..0f4d1bc 100644 --- a/Source/kwsys/ProcessUNIX.c +++ b/Source/kwsys/ProcessUNIX.c @@ -1906,7 +1906,7 @@ static pid_t kwsysProcessFork(kwsysProcess* cp, #if defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) # define KWSYSPE_PS_COMMAND "ps axo pid,ppid" # define KWSYSPE_PS_FORMAT "%d %d\n" -#elif defined(__hpux) || defined(__sparc) || defined(__sgi) +#elif defined(__hpux) || defined(__sparc) || defined(__sgi) || defined(_AIX) # define KWSYSPE_PS_COMMAND "ps -ef" # define KWSYSPE_PS_FORMAT "%*s %d %d %*[^\n]\n" #endif |