mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 13:38:34 +00:00
Remove SMALL_MALLOC. Used on MSDOS and WIN16.
This commit is contained in:
@@ -1256,12 +1256,6 @@ static regprog_T *bt_regcomp(char_u *expr, int re_flags)
|
||||
if (reg(REG_NOPAREN, &flags) == NULL)
|
||||
return NULL;
|
||||
|
||||
/* Small enough for pointer-storage convention? */
|
||||
#ifdef SMALL_MALLOC /* 16 bit storage allocation */
|
||||
if (regsize >= 65536L - 256L)
|
||||
EMSG_RET_NULL(_("E339: Pattern too long"));
|
||||
#endif
|
||||
|
||||
/* Allocate space. */
|
||||
bt_regprog_T *r = xmalloc(sizeof(bt_regprog_T) + regsize);
|
||||
|
||||
|
Reference in New Issue
Block a user