summaryrefslogtreecommitdiff
path: root/jim-exec.c
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2010-03-03 15:43:34 +1000
committerSteve Bennett <steveb@workware.net.au>2010-10-15 11:02:47 +1000
commit5b72fc672cece4e426817a124e364b76da6f9704 (patch)
tree1e0236ba5e547cbda1278351f119f27bbaa12783 /jim-exec.c
parent52b1ccb6859a2029e5b5a6d885e26a2a757ba0b1 (diff)
Fix some build problems and add lost features
Add some missing files needed for autoconf Make jim build standalone and without host jimsh Use (FILE *) for eventloop file handle Don't expect to support dynlib if no mmu Re-add nvp and win32 support (untested) Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'jim-exec.c')
-rw-r--r--jim-exec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/jim-exec.c b/jim-exec.c
index 4d3364c..c195286 100644
--- a/jim-exec.c
+++ b/jim-exec.c
@@ -65,7 +65,7 @@ static int Jim_AppendStreamToString(Jim_Interp *interp, int fd, Jim_Obj *strObj)
}
}
-#ifndef NO_FORK
+#ifndef JIM_NOFORK
static int Jim_CreatePipeline(Jim_Interp *interp, int argc, Jim_Obj *const *argv,
int **pidArrayPtr, int *inPipePtr, int *outPipePtr, int *errFilePtr);
static void JimDetachPids(Jim_Interp *interp, int numPids, int *pidPtr);
@@ -984,7 +984,7 @@ Jim_CleanupChildren(Jim_Interp *interp, int numPids, int *pidPtr, int errorId)
return result;
}
-#else /* NO_FORK */
+#else /* JIM_NOFORK */
static int
Jim_ExecCmd(Jim_Interp *interp, int argc, Jim_Obj *const *argv)
{