4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
11 Problem: Conflict for defining Boolean in Mac header files.
12 Solution: Define NO_X11_INCLUDES. (Rainer Muller)
13 Files: src/os_macosx.m, src/vim.h
16 *** ../vim-7.3.020/src/os_macosx.m 2010-08-15 21:57:29.000000000 +0200
17 --- src/os_macosx.m 2010-10-10 17:01:55.000000000 +0200
21 Error: MACOS 9 is no longer supported in Vim 7
24 + /* Avoid a conflict for the definition of Boolean between Mac header files and
25 + * X11 header files. */
26 + #define NO_X11_INCLUDES
29 #import <Cocoa/Cocoa.h>
31 *** ../vim-7.3.020/src/vim.h 2010-08-15 21:57:29.000000000 +0200
32 --- src/vim.h 2010-10-10 17:02:56.000000000 +0200
37 #ifdef NO_X11_INCLUDES
38 ! /* In os_mac_conv.c NO_X11_INCLUDES is defined to avoid X11 headers.
39 ! * Disable all X11 related things to avoid conflicts. */
46 #ifdef NO_X11_INCLUDES
47 ! /* In os_mac_conv.c and os_macosx.m NO_X11_INCLUDES is defined to avoid
48 ! * X11 headers. Disable all X11 related things to avoid conflicts. */
52 *** ../vim-7.3.020/src/version.c 2010-10-09 17:21:42.000000000 +0200
53 --- src/version.c 2010-10-10 17:05:19.000000000 +0200
57 { /* Add new patch number below this line */
63 hundred-and-one symptoms of being an internet addict:
64 259. When you enter your name in the AltaVista search engine, the top ten
65 matches do indeed refer to you.
67 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
68 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
69 \\\ download, build and distribute -- http://www.A-A-P.org ///
70 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///