iconv: re-enable

This seems to have been disabled in the transition from vim to neovim,
re-enable it.
This commit is contained in:
Nicolas Hillegeer
2014-11-01 18:34:42 +01:00
parent 3972715ce7
commit 8c5efd62ac
11 changed files with 78 additions and 46 deletions

View File

@@ -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.
*/