mirror of
https://github.com/neovim/neovim.git
synced 2026-01-28 15:46:05 +00:00
* refactor: format all C files under nvim
* refactor: disable formatting for Vim-owned files:
* src/nvim/indent_c.c
* src/nvim/regexp.c
* src/nvim/regexp_nfa.c
* src/nvim/testdir/samples/memfile_test.c
21 lines
364 B
C
21 lines
364 B
C
#ifndef NVIM_ICONV_H
|
|
#define NVIM_ICONV_H
|
|
|
|
#include "auto/config.h"
|
|
|
|
#ifdef HAVE_ICONV
|
|
# include <errno.h>
|
|
# include <iconv.h>
|
|
|
|
// define some missing constants if necessary
|
|
# ifndef EILSEQ
|
|
# define EILSEQ 123
|
|
# endif
|
|
# define ICONV_ERRNO errno
|
|
# define ICONV_E2BIG E2BIG
|
|
# define ICONV_EINVAL EINVAL
|
|
# define ICONV_EILSEQ EILSEQ
|
|
#endif
|
|
|
|
#endif // NVIM_ICONV_H
|