Chris Sutcliffe wrote:
> > Thanks for taking the effort to verify what works.
>
> No problem at all, I like to contribute where I can!
>
> > I'm a bit confused though. In the last part of the patch
> > __IID_DEFINED__ if it wasn't defined yet. Why the extra complicated #if
> > to define it above this? Was it defined before but to something else?
>
> __IID_DEFINED__ was originally passed by the MinGW makefile because
> the w32api didn't explicitly define it, despite the fact that w32api
> did have a definition for IID (used in the OLE stuff). As a result,
> the compile would error out because of the duplicate IID definition.
> With the latest w32api (3.10), __IID_DEFINED__ is now properly defined
> along with IID itself. As a result, when the Makefile ran, it caused
> a duplicate definition of __IID_DEFINED__.
>
> Basically what I've done is that in iid_ole.c (where IID is defined,
> but guarded by __IID_DEFINED__), I've added an extra check to
> essentially accomplish what the Makefile was previously doing with the
> -D__IID_DEFINED__ option for previous versions of the w32api.
Ah, I missed that after the #ifdef __IID_DEFINED__ the structure was
declared. I'll include the patch now, thanks.
--
hundred-and-one symptoms of being an internet addict:
122. You ask if the Netaholics Anonymous t-shirt you ordered can be
sent to you via e-mail.
/// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---