diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/emacs.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/emacs.c b/src/emacs.c index 82d105a4e24..18cf9a7c2a5 100644 --- a/src/emacs.c +++ b/src/emacs.c | |||
| @@ -267,11 +267,13 @@ memory_warning_signal (sig) | |||
| 267 | so that GDB can return from a breakpoint here. | 267 | so that GDB can return from a breakpoint here. |
| 268 | MSDOS has its own definition on msdos.c */ | 268 | MSDOS has its own definition on msdos.c */ |
| 269 | 269 | ||
| 270 | #ifndef DOS_NT | 270 | #if ! defined (DOS_NT) && ! defined (NO_ABORT) |
| 271 | void | 271 | void |
| 272 | abort () | 272 | abort () |
| 273 | { | 273 | { |
| 274 | kill (getpid (), SIGABRT); | 274 | kill (getpid (), SIGABRT); |
| 275 | /* This shouldn't be executed, but it prevents a warning. */ | ||
| 276 | exit (1); | ||
| 275 | } | 277 | } |
| 276 | #endif | 278 | #endif |
| 277 | 279 | ||