diff options
| author | Richard M. Stallman | 1996-04-10 03:55:16 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-04-10 03:55:16 +0000 |
| commit | 15614e61bb5c76eb448d666797e5f75eae17f71f (patch) | |
| tree | b10e494339fa7ed618d737c702b1147a05510740 | |
| parent | 7a05f3c7d4d2ee8a9bfdc5b5af2f424f984c7ef1 (diff) | |
| download | emacs-15614e61bb5c76eb448d666797e5f75eae17f71f.tar.gz emacs-15614e61bb5c76eb448d666797e5f75eae17f71f.zip | |
[DJGPP v2] (etext, start): Declared.
(wait_for_termination) [DJGPP v2]: Just exit.
| -rw-r--r-- | src/sysdep.c | 10 |
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; | |||
| 86 | #include "dosfns.h" | 86 | #include "dosfns.h" |
| 87 | #include "msdos.h" | 87 | #include "msdos.h" |
| 88 | #include <sys/param.h> | 88 | #include <sys/param.h> |
| 89 | |||
| 90 | #if __DJGPP__ > 1 | ||
| 91 | extern int etext; | ||
| 92 | extern unsigned start __asm__ ("start"); | ||
| 93 | #endif | ||
| 89 | #endif | 94 | #endif |
| 90 | 95 | ||
| 91 | extern int errno; | 96 | extern int errno; |
| @@ -454,6 +459,9 @@ wait_for_termination (pid) | |||
| 454 | #endif /* not BSD, and not HPUX version >= 6 */ | 459 | #endif /* not BSD, and not HPUX version >= 6 */ |
| 455 | #endif /* not VMS */ | 460 | #endif /* not VMS */ |
| 456 | #else /* not subprocesses */ | 461 | #else /* not subprocesses */ |
| 462 | #if __DJGPP__ > 1 | ||
| 463 | break; | ||
| 464 | #else /* not __DJGPP__ > 1 */ | ||
| 457 | #ifndef BSD4_1 | 465 | #ifndef BSD4_1 |
| 458 | if (kill (pid, 0) < 0) | 466 | if (kill (pid, 0) < 0) |
| 459 | break; | 467 | break; |
| @@ -464,6 +472,7 @@ wait_for_termination (pid) | |||
| 464 | if (status == pid || status == -1) | 472 | if (status == pid || status == -1) |
| 465 | break; | 473 | break; |
| 466 | #endif /* BSD4_1 */ | 474 | #endif /* BSD4_1 */ |
| 475 | #endif /* not __DJGPP__ > 1*/ | ||
| 467 | #endif /* not subprocesses */ | 476 | #endif /* not subprocesses */ |
| 468 | } | 477 | } |
| 469 | } | 478 | } |
| @@ -725,6 +734,7 @@ sys_subshell () | |||
| 725 | #ifdef WINDOWSNT | 734 | #ifdef WINDOWSNT |
| 726 | pid = -1; | 735 | pid = -1; |
| 727 | #else /* not WINDOWSNT */ | 736 | #else /* not WINDOWSNT */ |
| 737 | |||
| 728 | #ifdef MSDOS | 738 | #ifdef MSDOS |
| 729 | pid = 0; | 739 | pid = 0; |
| 730 | #else | 740 | #else |