changeset 14971:497b73cc5818

[DJGPP v2] (etext, start): Declared. (wait_for_termination) [DJGPP v2]: Just exit.
author Richard M. Stallman <rms@gnu.org>
date Wed, 10 Apr 1996 03:55:16 +0000
parents 78a622f19f7f
children a6889b33d21c
files src/sysdep.c
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/sysdep.c	Wed Apr 10 03:48:14 1996 +0000
+++ b/src/sysdep.c	Wed Apr 10 03:55:16 1996 +0000
@@ -86,6 +86,11 @@
 #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 @@
 #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 @@
       if (status == pid || status == -1)
 	break;
 #endif /* BSD4_1 */
+#endif /* not __DJGPP__ > 1*/
 #endif /* not subprocesses */
     }
 }
@@ -725,6 +734,7 @@
 #ifdef WINDOWSNT
   pid = -1;
 #else /* not WINDOWSNT */
+
 #ifdef MSDOS
   pid = 0;
 #else