diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-01-24 17:59:39 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-01-24 17:59:39 +0100 |
commit | 30276f2beb248557c6b33cd5418bca8b7084b0a5 (patch) | |
tree | 56f7b88712a5ffffdd10681983e70501e2e1ba58 /src/message.c | |
parent | 264b74fa545edfb92c0d7d08a02c26331cc5b168 (diff) | |
download | vim-git-30276f2beb248557c6b33cd5418bca8b7084b0a5.tar.gz |
patch 8.1.0811: too many #ifdefsv8.1.0811
Problem: Too many #ifdefs.
Solution: Graduate FEAT_MBYTE, the final chapter.
Diffstat (limited to 'src/message.c')
-rw-r--r-- | src/message.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/message.c b/src/message.c index c5d48f229..063fadae4 100644 --- a/src/message.c +++ b/src/message.c @@ -4492,14 +4492,10 @@ vim_vsnprintf_typval( { /* Don't put the #if inside memchr(), it can be a * macro. */ -# if VIM_SIZEOF_INT <= 2 - char *q = memchr(str_arg, '\0', precision); -# else /* memchr on HP does not like n > 2^31 !!! */ char *q = memchr(str_arg, '\0', precision <= (size_t)0x7fffffffL ? precision : (size_t)0x7fffffffL); -# endif str_arg_l = (q == NULL) ? precision : (size_t)(q - str_arg); } |