|
Karsten Hopp |
1749f0 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
1749f0 |
Subject: Patch 7.3.021
|
|
Karsten Hopp |
1749f0 |
Fcc: outbox
|
|
Karsten Hopp |
1749f0 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
1749f0 |
Mime-Version: 1.0
|
|
Karsten Hopp |
1749f0 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
1749f0 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
1749f0 |
------------
|
|
Karsten Hopp |
1749f0 |
|
|
Karsten Hopp |
1749f0 |
Patch 7.3.021
|
|
Karsten Hopp |
1749f0 |
Problem: Conflict for defining Boolean in Mac header files.
|
|
Karsten Hopp |
1749f0 |
Solution: Define NO_X11_INCLUDES. (Rainer Muller)
|
|
Karsten Hopp |
1749f0 |
Files: src/os_macosx.m, src/vim.h
|
|
Karsten Hopp |
1749f0 |
|
|
Karsten Hopp |
1749f0 |
|
|
Karsten Hopp |
1749f0 |
*** ../vim-7.3.020/src/os_macosx.m 2010-08-15 21:57:29.000000000 +0200
|
|
Karsten Hopp |
1749f0 |
--- src/os_macosx.m 2010-10-10 17:01:55.000000000 +0200
|
|
Karsten Hopp |
1749f0 |
***************
|
|
Karsten Hopp |
1749f0 |
*** 15,20 ****
|
|
Karsten Hopp |
1749f0 |
--- 15,24 ----
|
|
Karsten Hopp |
1749f0 |
Error: MACOS 9 is no longer supported in Vim 7
|
|
Karsten Hopp |
1749f0 |
#endif
|
|
Karsten Hopp |
1749f0 |
|
|
Karsten Hopp |
1749f0 |
+ /* Avoid a conflict for the definition of Boolean between Mac header files and
|
|
Karsten Hopp |
1749f0 |
+ * X11 header files. */
|
|
Karsten Hopp |
1749f0 |
+ #define NO_X11_INCLUDES
|
|
Karsten Hopp |
1749f0 |
+
|
|
Karsten Hopp |
1749f0 |
#include "vim.h"
|
|
Karsten Hopp |
1749f0 |
#import <Cocoa/Cocoa.h>
|
|
Karsten Hopp |
1749f0 |
|
|
Karsten Hopp |
1749f0 |
*** ../vim-7.3.020/src/vim.h 2010-08-15 21:57:29.000000000 +0200
|
|
Karsten Hopp |
1749f0 |
--- src/vim.h 2010-10-10 17:02:56.000000000 +0200
|
|
Karsten Hopp |
1749f0 |
***************
|
|
Karsten Hopp |
1749f0 |
*** 192,199 ****
|
|
Karsten Hopp |
1749f0 |
#endif
|
|
Karsten Hopp |
1749f0 |
|
|
Karsten Hopp |
1749f0 |
#ifdef NO_X11_INCLUDES
|
|
Karsten Hopp |
1749f0 |
! /* In os_mac_conv.c NO_X11_INCLUDES is defined to avoid X11 headers.
|
|
Karsten Hopp |
1749f0 |
! * Disable all X11 related things to avoid conflicts. */
|
|
Karsten Hopp |
1749f0 |
# ifdef FEAT_X11
|
|
Karsten Hopp |
1749f0 |
# undef FEAT_X11
|
|
Karsten Hopp |
1749f0 |
# endif
|
|
Karsten Hopp |
1749f0 |
--- 192,199 ----
|
|
Karsten Hopp |
1749f0 |
#endif
|
|
Karsten Hopp |
1749f0 |
|
|
Karsten Hopp |
1749f0 |
#ifdef NO_X11_INCLUDES
|
|
Karsten Hopp |
1749f0 |
! /* In os_mac_conv.c and os_macosx.m NO_X11_INCLUDES is defined to avoid
|
|
Karsten Hopp |
1749f0 |
! * X11 headers. Disable all X11 related things to avoid conflicts. */
|
|
Karsten Hopp |
1749f0 |
# ifdef FEAT_X11
|
|
Karsten Hopp |
1749f0 |
# undef FEAT_X11
|
|
Karsten Hopp |
1749f0 |
# endif
|
|
Karsten Hopp |
1749f0 |
*** ../vim-7.3.020/src/version.c 2010-10-09 17:21:42.000000000 +0200
|
|
Karsten Hopp |
1749f0 |
--- src/version.c 2010-10-10 17:05:19.000000000 +0200
|
|
Karsten Hopp |
1749f0 |
***************
|
|
Karsten Hopp |
1749f0 |
*** 716,717 ****
|
|
Karsten Hopp |
1749f0 |
--- 716,719 ----
|
|
Karsten Hopp |
1749f0 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
1749f0 |
+ /**/
|
|
Karsten Hopp |
1749f0 |
+ 21,
|
|
Karsten Hopp |
1749f0 |
/**/
|
|
Karsten Hopp |
1749f0 |
|
|
Karsten Hopp |
1749f0 |
--
|
|
Karsten Hopp |
1749f0 |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
1749f0 |
259. When you enter your name in the AltaVista search engine, the top ten
|
|
Karsten Hopp |
1749f0 |
matches do indeed refer to you.
|
|
Karsten Hopp |
1749f0 |
|
|
Karsten Hopp |
1749f0 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
1749f0 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
1749f0 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
1749f0 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|