From: SF/projects/mingw n. l. <min...@li...> - 2011-06-29 15:43:30
|
Patches item #3336805, was opened at 2011-06-27 13:09 Message generated for change (Comment added) made by l_r_nightmare You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=302435&aid=3336805&group_id=2435 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: w32api Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: LRN (l_r_nightmare) Assigned to: Nobody/Anonymous (nobody) Summary: DECLARE_INTERFACE_IID_ macro Initial Comment: This patch adds DECLARE_INTERFACE_IID_ macro. This macro can be seen being used at http://msdn.microsoft.com/en-us/library/bb775021%28v=vs.85%29.aspx , for example, but its purpose is never explained. ReactOS DirectX SDK recently acquired headers that make use of this macro, and this patch is required to maintain compatibility between MinGW and ROS DX SDK. Since GCC does not have necessary support for IIDs, DECLARE_INTERFACE_IID_ can be defined to the same value as DECLARE_INTERFACE_, simply discarding the third argument. An alternative version of this patch would do that directly by using #define DECLARE_INTERFACE_IID_(i,b,d) DECLARE_INTERFACE(i,b) instead of defining it to the same value as DECLARE_INTERFACE This patch is based upon the source code taken from w32api/include/basetyps.h ---------------------------------------------------------------------- >Comment By: LRN (l_r_nightmare) Date: 2011-06-29 19:43 Message: Updated the patch to also include C version ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=302435&aid=3336805&group_id=2435 |