[host] windows: fix compilation under gcc

This commit is contained in:
Geoffrey McRae
2024-01-31 01:33:43 +11:00
parent 72b25b99bc
commit cae4b2f4f9
6 changed files with 31 additions and 7 deletions

View File

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