Mercurial > vim
changeset 5698:767103b5bcb0 v7.4.194
updated for version 7.4.194
Problem: Can't build for Android.
Solution: Add #if condition. (Fredrik Fornwall)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 12 Mar 2014 14:54:34 +0100 |
parents | c2098c3095e7 |
children | 3716699948c2 |
files | src/mbyte.c src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/mbyte.c +++ b/src/mbyte.c @@ -708,7 +708,7 @@ codepage_invalid: * API */ n = IsDBCSLeadByteEx(enc_dbcs, (WINBYTE)i) ? 2 : 1; #else -# if defined(MACOS) || defined(__amigaos4__) +# if defined(MACOS) || defined(__amigaos4__) || defined(__ANDROID__) /* * if mblen() is not available, character which MSB is turned on * are treated as leading byte character. (note : This assumption