summaryrefslogtreecommitdiffstats
path: root/src/macros.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-01-20 22:48:02 +0100
committerBram Moolenaar <Bram@vim.org>2016-01-20 22:48:02 +0100
commit88e8f9f14434a7cd538d0c159dc432bea869a5bd (patch)
tree0cc419113941be1200c09d347f96bf76cc7acaab /src/macros.h
parenta7c3795a2e65233ba2d187d680acc83bf6bf4ef5 (diff)
patch 7.4.1147v7.4.1147
Problem: Conflict for "chartab". (Kazunobu Kuriyama) Solution: Rename the global one to something less obvious. Move it into src/chartab.c.
Diffstat (limited to 'src/macros.h')
-rw-r--r--src/macros.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/macros.h b/src/macros.h
index 737eddf520..c4d27f80da 100644
--- a/src/macros.h
+++ b/src/macros.h
@@ -121,11 +121,6 @@
/* Returns empty string if it is NULL. */
#define EMPTY_IF_NULL(x) ((x) ? (x) : (u_char *)"")
-/* macro version of chartab().
- * Only works with values 0-255!
- * Doesn't work for UTF-8 mode with chars >= 0x80. */
-#define CHARSIZE(c) (chartab[c] & CT_CELL_MASK)
-
#ifdef FEAT_LANGMAP
/*
* Adjust chars in a language according to 'langmap' option.