--- ray/src/rt/devcomm.c 2003/02/25 02:47:22 2.7 +++ ray/src/rt/devcomm.c 2003/07/02 01:15:20 2.8 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: devcomm.c,v 2.7 2003/02/25 02:47:22 greg Exp $"; +static const char RCSid[] = "$Id: devcomm.c,v 2.8 2003/07/02 01:15:20 greg Exp $"; #endif /* * devcomm.c - communication routines for separate drivers. @@ -78,6 +78,7 @@ char *dname, *id; eputs(": not found\n"); return(NULL); } +#ifdef RHAS_FORK_EXEC /* open communication pipes */ if (pipe(p1) == -1 || pipe(p2) == -1) goto syserr; @@ -102,6 +103,14 @@ char *dname, *id; syserr: perror(dname); return(NULL); + +#else /* ! RHAS_FORK_EXEC */ + + eputs(dname); + eputs(": no fork/exec\n"); + return(NULL); + +#endif /* ! RHAS_FORK_EXEC */ }