Commit 37e2fdd2 authored by Richard M. Stallman's avatar Richard M. Stallman

(abort): Omit this definition, if NO_ABORT.

End by calling exit, to avoid warning.
parent 96214669
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment