From 8c5efd62ac97b0a44fb5a68e4fd91997fcede000 Mon Sep 17 00:00:00 2001 From: Nicolas Hillegeer Date: Sat, 1 Nov 2014 18:34:42 +0100 Subject: iconv: re-enable This seems to have been disabled in the transition from vim to neovim, re-enable it. --- src/nvim/vim.h | 32 -------------------------------- 1 file changed, 32 deletions(-) (limited to 'src/nvim/vim.h') diff --git a/src/nvim/vim.h b/src/nvim/vim.h index 47ed223e81..a766d71553 100644 --- a/src/nvim/vim.h +++ b/src/nvim/vim.h @@ -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) -- cgit