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