aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/mbyte.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2015-01-15 09:59:45 -0500
committerJustin M. Keyes <justinkz@gmail.com>2015-01-15 09:59:45 -0500
commit5c6348e9995b0dde23a2de99263e9e0e3a72fcd2 (patch)
tree9640f1bb8888959d4a34db04a5e06d9bde48ed7b /src/nvim/mbyte.c
parent5f24549ab1ecd69236be2761a2e43690ba7cf283 (diff)
parentd2e7cce560932e5e8032656598b0e27e1c06ec0d (diff)
downloadrneovim-5c6348e9995b0dde23a2de99263e9e0e3a72fcd2.tar.gz
rneovim-5c6348e9995b0dde23a2de99263e9e0e3a72fcd2.tar.bz2
rneovim-5c6348e9995b0dde23a2de99263e9e0e3a72fcd2.zip
Merge pull request #1816 from Pyrohh/macro_cleanup
Macro cleanup
Diffstat (limited to 'src/nvim/mbyte.c')
-rw-r--r--src/nvim/mbyte.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/nvim/mbyte.c b/src/nvim/mbyte.c
index 3274c8d8ec..bc8f768724 100644
--- a/src/nvim/mbyte.c
+++ b/src/nvim/mbyte.c
@@ -106,8 +106,6 @@
#include "nvim/os/os.h"
#include "nvim/arabic.h"
-#define WINBYTE BYTE
-
typedef struct {
int rangeStart;
int rangeEnd;
@@ -365,10 +363,6 @@ enc_alias_table[] =
{NULL, 0}
};
-#ifndef CP_UTF8
-# define CP_UTF8 65001 /* magic number from winnls.h */
-#endif
-
/*
* Find encoding "name" in the list of canonical encoding names.
* Returns -1 if not found.
@@ -3452,7 +3446,7 @@ char_u * enc_locale(void)
return enc_canonize((char_u *)buf);
}
-# if defined(USE_ICONV) || defined(PROTO)
+# if defined(USE_ICONV)
/*
@@ -3591,7 +3585,7 @@ static char_u * iconv_string(vimconv_T *vcp, char_u *str, int slen, int *unconvl
return result;
}
-# if defined(DYNAMIC_ICONV) || defined(PROTO)
+# if defined(DYNAMIC_ICONV)
/*
* Dynamically load the "iconv.dll" on Win32.
*/