On 15 August 2010 00:07, Bram Moolenaar wrote:
>
> Björn Winckler wrote:
>> This does not look good (in os_macosx.m):
>>
>> #if defined(FEAT_CLIPBOARD) && !defined(FEAT_GUI)
>>
>> It means the clipboard code will not get included when I compile
>> MacVim (since it defines FEAT_GUI).  I think you meant FEAT_GUI_MAC,
>> right?
>
> Hmm, I suppose it's possible to compile with one of the X11 GUIs.  But
> then there are the clip_mch_ functions in the X11 GUI files.  I thought
> the ones in os_macosx.m were only used for the Mac console, when not
> building with X11.
>
> If MacVim does not define FEAT_GUI_MAC, what does it define?  If it's
> FEAT_MACVIM we could use:
>
>  #if defined(FEAT_CLIPBOARD) && (!defined(FEAT_GUI) || defined(FEAT_MACVIM))

I see...well, MacVim defines FEAT_GUI_MACVIM to avoid clashes with the
Carbon GUI.  However, I can include that change in the MacVim source
code just as well.

Björn

-- 
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to