diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2009-04-23 15:09:47 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2009-04-23 15:09:47 (GMT) |
commit | 7fc99c94d4af79083160dea4eebba7c471954110 (patch) | |
tree | 45d2dce55e3f3e44cdea05c73624389907c4bb02 /Source/kwsys/ProcessUNIX.c | |
parent | d847ca8e270685826222b4ab106a380f9a5e7db0 (diff) | |
download | CMake-7fc99c94d4af79083160dea4eebba7c471954110.zip CMake-7fc99c94d4af79083160dea4eebba7c471954110.tar.gz CMake-7fc99c94d4af79083160dea4eebba7c471954110.tar.bz2 |
ENH: check in almost building VMS stuff with VMSBuild directory since the bootstrap script will not work on VMS
Diffstat (limited to 'Source/kwsys/ProcessUNIX.c')
-rw-r--r-- | Source/kwsys/ProcessUNIX.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/kwsys/ProcessUNIX.c b/Source/kwsys/ProcessUNIX.c index 9cd8d7e..a7515ba 100644 --- a/Source/kwsys/ProcessUNIX.c +++ b/Source/kwsys/ProcessUNIX.c @@ -2270,6 +2270,9 @@ static pid_t kwsysProcessFork(kwsysProcess* cp, if(cp->OptionDetach) { /* Create an intermediate process. */ +#ifdef __VMS +#define fork vfork +#endif pid_t middle_pid = fork(); if(middle_pid < 0) { |