> 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.

Cheers!

Chris

-- 
Chris Sutcliffe
http://ir0nh34d.googlepages.com
http://ir0nh34d.blogspot.com
http://emergedesktop.org

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui