(abort): Omit this definition, if NO_ABORT.
End by calling exit, to avoid warning.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user