# HG changeset patch # User Richard M. Stallman # Date 893826154 0 # Node ID daf55987470906d1e8d1e73c6c0dafc3ed3b8302 # Parent 6b659713b90bb0772f61f5002c3f5f7ea1670ad4 (abort): Omit this definition, if NO_ABORT. End by calling exit, to avoid warning. diff -r 6b659713b90b -r daf559874709 src/emacs.c --- 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