(abort): Omit this definition, if NO_ABORT.

End by calling exit, to avoid warning.
This commit is contained in:
Richard M. Stallman
1998-04-29 05:02:34 +00:00
parent 96214669c4
commit 37e2fdd268

View File

@@ -267,11 +267,13 @@ memory_warning_signal (sig)
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