comparison src/os_macosx.m @ 12716:351cf7c67bbe v8.0.1236

patch 8.0.1236: Mac features are confusing commit https://github.com/vim/vim/commit/d057301b1f28736f094affa17b190244ad56e8d9 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Oct 28 21:11:06 2017 +0200 patch 8.0.1236: Mac features are confusing Problem: Mac features are confusing. Solution: Make feature names more consistent, add "osxdarwin". Rename feature flags, cleanup Mac code. (Kazunobu Kuriyama, closes #2178)
author Christian Brabandt <cb@256bit.org>
date Sat, 28 Oct 2017 21:15:35 +0200
parents 4aead6a9b7a9
children 5b3d0147711b
comparison
equal deleted inserted replaced
12715:279ec0abb4ac 12716:351cf7c67bbe
6 * Do ":help credits" in Vim to see a list of people who contributed. 6 * Do ":help credits" in Vim to see a list of people who contributed.
7 * See README.txt for an overview of the Vim source code. 7 * See README.txt for an overview of the Vim source code.
8 */ 8 */
9 9
10 /* 10 /*
11 * os_macosx.m -- Mac specific things for Mac OS/X. 11 * os_macosx.m -- Mac specific things for Mac OS X.
12 */ 12 */
13
14 #ifndef MACOS_X_UNIX
15 Error: MACOS 9 is no longer supported in Vim 7
16 #endif
17 13
18 /* Avoid a conflict for the definition of Boolean between Mac header files and 14 /* Avoid a conflict for the definition of Boolean between Mac header files and
19 * X11 header files. */ 15 * X11 header files. */
20 #define NO_X11_INCLUDES 16 #define NO_X11_INCLUDES
21 #define BalloonEval int /* used in header files */ 17 #define BalloonEval int /* used in header files */
22 18
23 #include "vim.h" 19 #include "vim.h"
24 #import <Cocoa/Cocoa.h> 20 #import <AppKit/AppKit.h>
25 21
26 22
27 /* 23 /*
28 * Clipboard support for the console. 24 * Clipboard support for the console.
29 * Don't include this when building the GUI version, the functions in 25 * Don't include this when building the GUI version, the functions in