summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-04-10 03:55:16 +0000
committerRichard M. Stallman <rms@gnu.org>1996-04-10 03:55:16 +0000
commit5bbc1b1e29d674ea65647b898c721c96b56e5b87 (patch)
treecd8f0d112eaa4d1fbb313f8067f8daf40ac9108d
parent0f09212a31c14f8333f2993639a59cd8cc561d5b (diff)
downloademacs-5bbc1b1e29d674ea65647b898c721c96b56e5b87.tar.gz
[DJGPP v2] (etext, start): Declared.
(wait_for_termination) [DJGPP v2]: Just exit.
-rw-r--r--src/sysdep.c10
1 files changed, 10 insertions, 0 deletions
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 <sys/param.h>
+
+#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