Commit b58c5c4a authored by Paul Eggert's avatar Paul Eggert

* insdel.c (make_gap_smaller): Define only if

USE_MMAP_FOR_BUFFERS || REL_ALLOC || DOUG_LEA_MALLOC.
parent cad59032
2011-04-16 Paul Eggert <eggert@cs.ucla.edu>
* insdel.c (make_gap_smaller): Define only if
USE_MMAP_FOR_BUFFERS || REL_ALLOC || DOUG_LEA_MALLOC.
* keyboard.c (read_char): Make a var volatile so longjmp won't clobber
it.
......
......@@ -442,6 +442,7 @@ make_gap_larger (EMACS_INT nbytes_added)
Vinhibit_quit = tem;
}
#if defined USE_MMAP_FOR_BUFFERS || defined REL_ALLOC || defined DOUG_LEA_MALLOC
/* Make the gap NBYTES_REMOVED bytes shorter. */
......@@ -501,6 +502,8 @@ make_gap_smaller (EMACS_INT nbytes_removed)
Vinhibit_quit = tem;
}
#endif /* USE_MMAP_FOR_BUFFERS || REL_ALLOC || DOUG_LEA_MALLOC */
void
make_gap (EMACS_INT nbytes_added)
{
......
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