From 15614e61bb5c76eb448d666797e5f75eae17f71f Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 10 Apr 1996 03:55:16 +0000 Subject: [PATCH] [DJGPP v2] (etext, start): Declared. (wait_for_termination) [DJGPP v2]: Just exit. --- src/sysdep.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/sysdep.c b/src/sysdep.c index 0180d8601e8..c52de4ed716 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -86,6 +86,11 @@ extern int h_errno; #include "dosfns.h" #include "msdos.h" #include + +#if __DJGPP__ > 1 +extern int etext; +extern unsigned start __asm__ ("start"); +#endif #endif extern int errno; @@ -454,6 +459,9 @@ wait_for_termination (pid) #endif /* not BSD, and not HPUX version >= 6 */ #endif /* not VMS */ #else /* not subprocesses */ +#if __DJGPP__ > 1 + break; +#else /* not __DJGPP__ > 1 */ #ifndef BSD4_1 if (kill (pid, 0) < 0) break; @@ -464,6 +472,7 @@ wait_for_termination (pid) if (status == pid || status == -1) break; #endif /* BSD4_1 */ +#endif /* not __DJGPP__ > 1*/ #endif /* not subprocesses */ } } @@ -725,6 +734,7 @@ sys_subshell () #ifdef WINDOWSNT pid = -1; #else /* not WINDOWSNT */ + #ifdef MSDOS pid = 0; #else -- 2.39.2