Re: commctrl.h (+ other headers) patch

Danny Smith <[email protected]> Sat, 23 Aug 2003 08:22:15 +1200
Newsgroups gmane.comp.gnu.mingw.patches
Message-ID <000801c368eb$2662d380$a498a7cb@DANNY>
----- Original Message -----
From: "Filip Navara"

> I tried compiling comctl32.dll from Wine with w32api and this patch is
the
> result of my work. Hope, it will get the way into w32api 2.4 :)
>
> FiN <xnavara-VIXq6x/[email protected]>
>
> REFERENCES:
> Mostly MSDN and sometimes guessing & testing. If you want URLs for
online
> MSDN I can create and post it, but it would involve lot of work :(
>
> CHANGLOG (Also in attachment):
>
> 2003-08-22  Filip Navara  <xnavara-VIXq6x/[email protected]>
>
>  * include/objidl.h: Get rid of COBJMACRORS define.
>  * include/unknwn.h: Ditto.
>  * include/comcat.h: Ditto.


All of the hunks like this:
-#ifdef COBJMACROS
+#if !defined(__cplusplus) || defined(CINTERFACE)


should probably be:

-#ifdef COBJMACROS
+#if (!defined (__cplusplus) || defined (CINTERFACE)) \
+      && defined  (COBJMACROS)

Danny



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0