Skip to content

Commit 05c5a99

Browse files
authored
Merge pull request #313 from macvim-dev/fix/feat_clipboard
Fix to define FEAT_CLIPBOARD
2 parents 8eae3da + 01f1fde commit 05c5a99

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/os_macosx.m

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,12 @@
1515
Error: MACOS 9 is no longer supported in Vim 7
1616
#endif
1717

18+
#ifndef FEAT_GUI_MACVIM
1819
/* Avoid a conflict for the definition of Boolean between Mac header files and
1920
* X11 header files. */
20-
#define NO_X11_INCLUDES
21-
#define BalloonEval int /* used in header files */
21+
# define NO_X11_INCLUDES
22+
# define BalloonEval int /* used in header files */
23+
#endif
2224

2325
#include "vim.h"
2426
#import <Cocoa/Cocoa.h>

0 commit comments

Comments
 (0)