mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 15:21:47 +00:00
iconv: re-enable
This seems to have been disabled in the transition from vim to neovim, re-enable it.
This commit is contained in:
@@ -381,38 +381,6 @@ enum {
|
||||
#include "nvim/buffer_defs.h" /* buffer and windows */
|
||||
#include "nvim/ex_cmds_defs.h" /* Ex command defines */
|
||||
|
||||
# ifdef USE_ICONV
|
||||
# ifndef EILSEQ
|
||||
# define EILSEQ 123
|
||||
# endif
|
||||
# ifdef DYNAMIC_ICONV
|
||||
/* On Win32 iconv.dll is dynamically loaded. */
|
||||
# define ICONV_ERRNO (*iconv_errno())
|
||||
# define ICONV_E2BIG 7
|
||||
# define ICONV_EINVAL 22
|
||||
# define ICONV_EILSEQ 42
|
||||
# else
|
||||
# define ICONV_ERRNO errno
|
||||
# define ICONV_E2BIG E2BIG
|
||||
# define ICONV_EINVAL EINVAL
|
||||
# define ICONV_EILSEQ EILSEQ
|
||||
# endif
|
||||
# endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# define SET_NO_HLSEARCH(flag) no_hlsearch = (flag); set_vim_var_nr( \
|
||||
VV_HLSEARCH, !no_hlsearch)
|
||||
|
||||
|
Reference in New Issue
Block a user