mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
updated for version 7.3.219
Problem: Can't compile with GTK on Mac. Solution: Add some #ifdef trickery. (Ben Schmidt)
This commit is contained in:
@@ -14,6 +14,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define NO_X11_INCLUDES
|
#define NO_X11_INCLUDES
|
||||||
|
#define BalloonEval int /* used in header files */
|
||||||
|
|
||||||
#include "vim.h"
|
#include "vim.h"
|
||||||
#ifndef FEAT_GUI_MAC
|
#ifndef FEAT_GUI_MAC
|
||||||
# include <CoreServices/CoreServices.h>
|
# include <CoreServices/CoreServices.h>
|
||||||
|
@@ -18,6 +18,7 @@
|
|||||||
/* Avoid a conflict for the definition of Boolean between Mac header files and
|
/* Avoid a conflict for the definition of Boolean between Mac header files and
|
||||||
* X11 header files. */
|
* X11 header files. */
|
||||||
#define NO_X11_INCLUDES
|
#define NO_X11_INCLUDES
|
||||||
|
#define BalloonEval int /* used in header files */
|
||||||
|
|
||||||
#include "vim.h"
|
#include "vim.h"
|
||||||
#import <Cocoa/Cocoa.h>
|
#import <Cocoa/Cocoa.h>
|
||||||
@@ -27,9 +28,9 @@
|
|||||||
* Clipboard support for the console.
|
* Clipboard support for the console.
|
||||||
* Don't include this when building the GUI version, the functions in
|
* Don't include this when building the GUI version, the functions in
|
||||||
* gui_mac.c are used then. TODO: remove those instead?
|
* gui_mac.c are used then. TODO: remove those instead?
|
||||||
* But for MacVim we need these ones.
|
* But for MacVim we do need these ones.
|
||||||
*/
|
*/
|
||||||
#if defined(FEAT_CLIPBOARD) && (!defined(FEAT_GUI) || defined(FEAT_GUI_MACVIM))
|
#if defined(FEAT_CLIPBOARD) && (!defined(FEAT_GUI_ENABLED) || defined(FEAT_GUI_MACVIM))
|
||||||
|
|
||||||
/* Used to identify clipboard data copied from Vim. */
|
/* Used to identify clipboard data copied from Vim. */
|
||||||
|
|
||||||
|
@@ -709,6 +709,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 */
|
||||||
|
/**/
|
||||||
|
219,
|
||||||
/**/
|
/**/
|
||||||
218,
|
218,
|
||||||
/**/
|
/**/
|
||||||
|
@@ -121,6 +121,7 @@
|
|||||||
|| defined(FEAT_GUI_W32) \
|
|| defined(FEAT_GUI_W32) \
|
||||||
|| defined(FEAT_GUI_W16) \
|
|| defined(FEAT_GUI_W16) \
|
||||||
|| defined(FEAT_GUI_PHOTON)
|
|| defined(FEAT_GUI_PHOTON)
|
||||||
|
# define FEAT_GUI_ENABLED /* also defined with NO_X11_INCLUDES */
|
||||||
# if !defined(FEAT_GUI) && !defined(NO_X11_INCLUDES)
|
# if !defined(FEAT_GUI) && !defined(NO_X11_INCLUDES)
|
||||||
# define FEAT_GUI
|
# define FEAT_GUI
|
||||||
# endif
|
# endif
|
||||||
|
Reference in New Issue
Block a user