Patch 7.4.194
Problem:    Can't build for Android.
Solution:   Add #if condition. (Fredrik Fornwall)
Files:      src/mbyte.c


*** ../vim-7.4.193/src/mbyte.c  2014-01-14 13:26:17.000000000 +0100
--- src/mbyte.c 2014-03-03 22:41:30.527101306 +0100
***************
*** 708,714 ****
             * API */
            n = IsDBCSLeadByteEx(enc_dbcs, (WINBYTE)i) ? 2 : 1;
  #else
! # if defined(MACOS) || defined(__amigaos4__)
            /*
             * if mblen() is not available, character which MSB is turned on
             * are treated as leading byte character. (note : This assumption
--- 708,714 ----
             * API */
            n = IsDBCSLeadByteEx(enc_dbcs, (WINBYTE)i) ? 2 : 1;
  #else
! # 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
*** ../vim-7.4.193/src/version.c        2014-03-08 16:13:39.123462070 +0100
--- src/version.c       2014-03-12 14:53:45.148684209 +0100
***************
*** 740,741 ****
--- 740,743 ----
  {   /* Add new patch number below this line */
+ /**/
+     194,
  /**/

-- 
A programmer's wife asks him: "Please run to the store and pick up a loaf of
bread.  If they have eggs, get a dozen".  The programmer comes home with 12
loafs of bread.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui