diff --git a/src/proto.h b/src/proto.h index d6961c29e9..289c7cb687 100644 --- a/src/proto.h +++ b/src/proto.h @@ -288,12 +288,8 @@ extern char *vim_SelFile __ARGS((Widget toplevel, char *prompt, char *init_path, #ifdef MACOS_CONVERT # include "os_mac_conv.pro" #endif -#if defined(MACOS_X_UNIX) && 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); -void clip_mch_request_selection(VimClipboard *cbd); -void clip_mch_set_selection(VimClipboard *cbd); +#ifdef MACOS_X +# include "os_macosx.pro" #endif #ifdef __BORLANDC__ diff --git a/src/proto/os_macosx.pro b/src/proto/os_macosx.pro index 1a806ffe3a..af2ac69dfe 100644 --- a/src/proto/os_macosx.pro +++ b/src/proto/os_macosx.pro @@ -1,3 +1,13 @@ /* os_macosx.pro */ +/* functions in os_macosx.m */ + +#if defined(FEAT_CLIPBOARD) && !defined(FEAT_GUI) +void clip_mch_lose_selection(VimClipboard *cbd); +int clip_mch_own_selection(VimClipboard *cbd); +void clip_mch_request_selection(VimClipboard *cbd); +void clip_mch_set_selection(VimClipboard *cbd); +#endif + void macosx_fork __ARGS((void)); + /* vim: set ft=c : */