0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

updated for version 7.4.194

Problem:    Can't build for Android.
Solution:   Add #if condition. (Fredrik Fornwall)
This commit is contained in:
Bram Moolenaar
2014-03-12 14:54:34 +01:00
parent 0858917e43
commit 4064e24a0f
2 changed files with 3 additions and 1 deletions

View File

@@ -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