Mercurial > emacs
diff src/emacs.c @ 21832:daf559874709
(abort): Omit this definition, if NO_ABORT.
End by calling exit, to avoid warning.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 29 Apr 1998 05:02:34 +0000 |
parents | 2ce6f0e5425b |
children | 89d03805f45a |
line wrap: on
line diff
--- a/src/emacs.c Wed Apr 29 04:43:08 1998 +0000 +++ b/src/emacs.c Wed Apr 29 05:02:34 1998 +0000 @@ -267,11 +267,13 @@ so that GDB can return from a breakpoint here. MSDOS has its own definition on msdos.c */ -#ifndef DOS_NT +#if ! defined (DOS_NT) && ! defined (NO_ABORT) void abort () { kill (getpid (), SIGABRT); + /* This shouldn't be executed, but it prevents a warning. */ + exit (1); } #endif