mirror of
https://github.com/vim/vim.git
synced 2025-10-06 05:44:14 -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:
@@ -213,7 +213,7 @@ void qsort(void *base, size_t elm_count, size_t elm_size, int (*cmp)(const void
|
||||
# endif
|
||||
|
||||
# if defined(FEAT_GUI) || defined(FEAT_JOB_CHANNEL)
|
||||
# if defined(UNIX) || defined(MACOS)
|
||||
# if defined(UNIX) || defined(MACOS_X)
|
||||
# include "pty.pro"
|
||||
# endif
|
||||
# endif
|
||||
@@ -286,7 +286,7 @@ extern char *vim_SelFile(Widget toplevel, char *prompt, char *init_path, int (*s
|
||||
#ifdef MACOS_CONVERT
|
||||
# include "os_mac_conv.pro"
|
||||
#endif
|
||||
#if defined(MACOS_X_UNIX) && defined(FEAT_CLIPBOARD) && !defined(FEAT_GUI)
|
||||
#if defined(MACOS_X_DARWIN) && defined(FEAT_CLIPBOARD) && !defined(FEAT_GUI)
|
||||
/* functions in os_macosx.m */
|
||||
void clip_mch_lose_selection(VimClipboard *cbd);
|
||||
int clip_mch_own_selection(VimClipboard *cbd);
|
||||
|
Reference in New Issue
Block a user