3ef2ca
To: vim_dev@googlegroups.com
3ef2ca
Subject: Patch 7.4.194
3ef2ca
Fcc: outbox
3ef2ca
From: Bram Moolenaar <Bram@moolenaar.net>
3ef2ca
Mime-Version: 1.0
3ef2ca
Content-Type: text/plain; charset=UTF-8
3ef2ca
Content-Transfer-Encoding: 8bit
3ef2ca
------------
3ef2ca
3ef2ca
Patch 7.4.194
3ef2ca
Problem:    Can't build for Android.
3ef2ca
Solution:   Add #if condition. (Fredrik Fornwall)
3ef2ca
Files:	    src/mbyte.c
3ef2ca
3ef2ca
3ef2ca
*** ../vim-7.4.193/src/mbyte.c	2014-01-14 13:26:17.000000000 +0100
3ef2ca
--- src/mbyte.c	2014-03-03 22:41:30.527101306 +0100
3ef2ca
***************
3ef2ca
*** 708,714 ****
3ef2ca
  	     * API */
3ef2ca
  	    n = IsDBCSLeadByteEx(enc_dbcs, (WINBYTE)i) ? 2 : 1;
3ef2ca
  #else
3ef2ca
! # if defined(MACOS) || defined(__amigaos4__)
3ef2ca
  	    /*
3ef2ca
  	     * if mblen() is not available, character which MSB is turned on
3ef2ca
  	     * are treated as leading byte character. (note : This assumption
3ef2ca
--- 708,714 ----
3ef2ca
  	     * API */
3ef2ca
  	    n = IsDBCSLeadByteEx(enc_dbcs, (WINBYTE)i) ? 2 : 1;
3ef2ca
  #else
3ef2ca
! # if defined(MACOS) || defined(__amigaos4__) || defined(__ANDROID__)
3ef2ca
  	    /*
3ef2ca
  	     * if mblen() is not available, character which MSB is turned on
3ef2ca
  	     * are treated as leading byte character. (note : This assumption
3ef2ca
*** ../vim-7.4.193/src/version.c	2014-03-08 16:13:39.123462070 +0100
3ef2ca
--- src/version.c	2014-03-12 14:53:45.148684209 +0100
3ef2ca
***************
3ef2ca
*** 740,741 ****
3ef2ca
--- 740,743 ----
3ef2ca
  {   /* Add new patch number below this line */
3ef2ca
+ /**/
3ef2ca
+     194,
3ef2ca
  /**/
3ef2ca
3ef2ca
-- 
3ef2ca
A programmer's wife asks him: "Please run to the store and pick up a loaf of
3ef2ca
bread.  If they have eggs, get a dozen".  The programmer comes home with 12
3ef2ca
loafs of bread.
3ef2ca
3ef2ca
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
3ef2ca
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
3ef2ca
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
3ef2ca
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///