[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

@@ -16,7 +16,7 @@ add_library(platform_Windows STATIC
# allow use of functions for Windows 7 or later
add_compile_definitions(WINVER=0x0601 _WIN32_WINNT=0x0601)
add_definitions("-DCOBJMACROS -DINITGUID -DWIDL_C_INLINE_WRAPPERS")
add_definitions("-DCOBJMACROS -DINITGUID")
add_subdirectory("capture")