mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 22:18:33 +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:
@@ -11,6 +11,8 @@
|
||||
#include "nvim/pos.h"
|
||||
// for the number window-local and buffer-local options
|
||||
#include "nvim/option_defs.h"
|
||||
// for optional iconv support
|
||||
#include "nvim/iconv.h"
|
||||
// for jump list and tag stack sizes in a buffer and mark types
|
||||
#include "nvim/mark_defs.h"
|
||||
// for u_header_T
|
||||
@@ -281,15 +283,6 @@ typedef struct argentry {
|
||||
#define ARGCOUNT (ALIST(curwin)->al_ga.ga_len)
|
||||
#define WARGCOUNT(wp) (ALIST(wp)->al_ga.ga_len)
|
||||
|
||||
#ifdef USE_ICONV
|
||||
# ifdef HAVE_ICONV_H
|
||||
# include <iconv.h>
|
||||
# else
|
||||
# include <errno.h>
|
||||
typedef void *iconv_t;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Used for the typeahead buffer: typebuf.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user