]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.021 v7.3.021
authorBram Moolenaar <Bram@vim.org>
Sun, 10 Oct 2010 15:08:43 +0000 (17:08 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 10 Oct 2010 15:08:43 +0000 (17:08 +0200)
Problem:    Conflict for defining Boolean in Mac header files.
Solution:   Define NO_X11_INCLUDES. (Rainer Muller)

src/os_macosx.m
src/version.c
src/vim.h

index 4ad8d26a80dbeac0b3c70155f7129ccd6f34879a..1d88e7dcd69f1914f044ca376d5c8d40b6bdd801 100644 (file)
     Error: MACOS 9 is no longer supported in Vim 7
 #endif
 
+/* Avoid a conflict for the definition of Boolean between Mac header files and
+ * X11 header files. */
+#define NO_X11_INCLUDES
+
 #include "vim.h"
 #import <Cocoa/Cocoa.h>
 
index 6d19c82cdb605b2e4c68506d5682bc5a8c90a13f..46e278d53bd714ebc17a7ce38a9daff85c9c8a9d 100644 (file)
@@ -714,6 +714,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    21,
 /**/
     20,
 /**/
index b9ce325539573dfcf76d6988643880f2534b9c0e..6c846c1d7e3991a8b3a7867799685e337bd69808 100644 (file)
--- a/src/vim.h
+++ b/src/vim.h
 #endif
 
 #ifdef NO_X11_INCLUDES
-    /* In os_mac_conv.c NO_X11_INCLUDES is defined to avoid X11 headers.
-     * Disable all X11 related things to avoid conflicts. */
+    /* In os_mac_conv.c and os_macosx.m NO_X11_INCLUDES is defined to avoid
+     * X11 headers.  Disable all X11 related things to avoid conflicts. */
 # ifdef FEAT_X11
 #  undef FEAT_X11
 # endif