mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.3.021
Problem: Conflict for defining Boolean in Mac header files. Solution: Define NO_X11_INCLUDES. (Rainer Muller)
This commit is contained in:
@@ -15,6 +15,10 @@
|
|||||||
Error: MACOS 9 is no longer supported in Vim 7
|
Error: MACOS 9 is no longer supported in Vim 7
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* Avoid a conflict for the definition of Boolean between Mac header files and
|
||||||
|
* X11 header files. */
|
||||||
|
#define NO_X11_INCLUDES
|
||||||
|
|
||||||
#include "vim.h"
|
#include "vim.h"
|
||||||
#import <Cocoa/Cocoa.h>
|
#import <Cocoa/Cocoa.h>
|
||||||
|
|
||||||
|
@@ -714,6 +714,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
21,
|
||||||
/**/
|
/**/
|
||||||
20,
|
20,
|
||||||
/**/
|
/**/
|
||||||
|
@@ -192,8 +192,8 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef NO_X11_INCLUDES
|
#ifdef NO_X11_INCLUDES
|
||||||
/* In os_mac_conv.c NO_X11_INCLUDES is defined to avoid X11 headers.
|
/* In os_mac_conv.c and os_macosx.m NO_X11_INCLUDES is defined to avoid
|
||||||
* Disable all X11 related things to avoid conflicts. */
|
* X11 headers. Disable all X11 related things to avoid conflicts. */
|
||||||
# ifdef FEAT_X11
|
# ifdef FEAT_X11
|
||||||
# undef FEAT_X11
|
# undef FEAT_X11
|
||||||
# endif
|
# endif
|
||||||
|
Reference in New Issue
Block a user