mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-09 08:21:30 -07:00
* insdel.c (make_gap_smaller): Define only if
USE_MMAP_FOR_BUFFERS || REL_ALLOC || DOUG_LEA_MALLOC.
This commit is contained in:
parent
cad5903248
commit
b58c5c4af7
2 changed files with 6 additions and 0 deletions
|
|
@ -1,5 +1,8 @@
|
|||
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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue