summaryrefslogtreecommitdiff
path: root/src/vim.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-01-24 18:20:17 +0100
committerBram Moolenaar <Bram@vim.org>2019-01-24 18:20:17 +0100
commit9ba6117de6dc2993f8b42ccb9754c23694db2950 (patch)
tree1867b9c62e67ea48be78ad1d61e95e7fc0789a96 /src/vim.h
parent30276f2beb248557c6b33cd5418bca8b7084b0a5 (diff)
downloadvim-git-9ba6117de6dc2993f8b42ccb9754c23694db2950.tar.gz
patch 8.1.0812: Unicode 16 feature is not usefulv8.1.0812
Problem: Unicode 16 feature is not useful and cannot be detected. Solution: Remove UNICODE16.
Diffstat (limited to 'src/vim.h')
-rw-r--r--src/vim.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/vim.h b/src/vim.h
index 3febc62ff..55cb69389 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -431,15 +431,9 @@ typedef unsigned short sattr_T;
/*
* The u8char_T can hold one decoded UTF-8 character.
- * We normally use 32 bits now, since some Asian characters don't fit in 16
- * bits. u8char_T is only used for displaying, it could be 16 bits to save
- * memory.
+ * We use 32 bits, since some Asian characters don't fit in 16 bits.
*/
-#ifdef UNICODE16
-typedef unsigned short u8char_T; /* short should be 16 bits */
-#else
-typedef unsigned int u8char_T; /* int is 32 bits or more */
-#endif
+typedef unsigned int u8char_T; // int is 32 bits or more
#ifndef UNIX /* For Unix this is included in os_unix.h */
# include <stdio.h>