[host] windows: fix compilation under gcc
This commit is contained in:
1 parent
72b25b99bc
commit
cae4b2f4f9
6 files changed
+31
-7
No files matched your search
@@ -18,6 +18,9 @@
|
||||
* Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef _H_COMREF_
|
||||
#define _H_COMREF_
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <windows.h>
|
||||
#include <malloc.h>
|
||||
@@ -96,3 +99,5 @@ inline static ULONG comRef_release(IUnknown ** ref)
|
||||
}
|
||||
|
||||
#define comRef_release(ref) comRef_release((IUnknown **)(ref))
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user