Print this page
make: unifdef for other OSes (undefined)

*** 40,55 **** #include <mksh/misc.h> /* getmem() */ #include <rw/pstream.h> #include <rw/queuecol.h> #include <rw/xdrstrea.h> #include <signal.h> - #ifdef linux - #include <sstream> - using namespace std; - #else #include <strstream.h> - #endif #include <sys/stat.h> /* stat() */ #include <sys/types.h> #include <sys/wait.h> #include <unistd.h> #include <errno.h> --- 40,50 ----
*** 262,276 **** } (void) sprintf(&rxm_command[strlen(rxm_command)], NOCATGETS(" %d %d"), pipe1[0], pipe2[1]); - #ifdef linux - execl(NOCATGETS("/bin/sh"), - #else execl(NOCATGETS("/usr/bin/sh"), - #endif NOCATGETS("sh"), NOCATGETS("-c"), rxm_command, (char *)NULL); _exit(127); --- 257,267 ----