diff options
Diffstat (limited to 'src/gmalloc.c')
| -rw-r--r-- | src/gmalloc.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/gmalloc.c b/src/gmalloc.c index ebba789f610..c07ead741e6 100644 --- a/src/gmalloc.c +++ b/src/gmalloc.c | |||
| @@ -36,9 +36,7 @@ License along with this library. If not, see <https://www.gnu.org/licenses/>. | |||
| 36 | #include <pthread.h> | 36 | #include <pthread.h> |
| 37 | #endif | 37 | #endif |
| 38 | 38 | ||
| 39 | #ifdef emacs | 39 | #include "lisp.h" |
| 40 | # include "lisp.h" | ||
| 41 | #endif | ||
| 42 | 40 | ||
| 43 | #include "ptr-bounds.h" | 41 | #include "ptr-bounds.h" |
| 44 | 42 | ||
| @@ -2022,11 +2020,7 @@ mabort (enum mcheck_status status) | |||
| 2022 | #else | 2020 | #else |
| 2023 | fprintf (stderr, "mcheck: %s\n", msg); | 2021 | fprintf (stderr, "mcheck: %s\n", msg); |
| 2024 | fflush (stderr); | 2022 | fflush (stderr); |
| 2025 | # ifdef emacs | ||
| 2026 | emacs_abort (); | 2023 | emacs_abort (); |
| 2027 | # else | ||
| 2028 | abort (); | ||
| 2029 | # endif | ||
| 2030 | #endif | 2024 | #endif |
| 2031 | } | 2025 | } |
| 2032 | 2026 | ||