mirror of
https://github.com/vim/vim.git
synced 2025-11-01 10:07:16 -04:00
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)
This commit is contained in:
@@ -8,20 +8,16 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
* os_macosx.m -- Mac specific things for Mac OS/X.
|
||||
* os_macosx.m -- Mac specific things for Mac OS X.
|
||||
*/
|
||||
|
||||
#ifndef MACOS_X_UNIX
|
||||
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
|
||||
#define BalloonEval int /* used in header files */
|
||||
|
||||
#include "vim.h"
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user