mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
decklink: Fix building with MSYS2's MinGW
Reported and tested by Philippe Renon. https://bugzilla.gnome.org/show_bug.cgi?id=784943
This commit is contained in:
parent
6e3f493a96
commit
a163dff91d
2 changed files with 2 additions and 2 deletions
|
@ -2256,7 +2256,7 @@ AG_GST_CHECK_FEATURE(DECKLINK, [decklink], decklink, [
|
|||
*-mingw*)
|
||||
HAVE_DECKLINK=yes
|
||||
DECKLINK_CXXFLAGS=
|
||||
DECKLINK_LIBS="-loleaut32"
|
||||
DECKLINK_LIBS="-lole32 -loleaut32"
|
||||
HAVE_DECKLINK_WIN=yes
|
||||
;;
|
||||
*)
|
||||
|
|
|
@ -34,10 +34,10 @@
|
|||
#ifdef G_OS_WIN32
|
||||
#include "win/DeckLinkAPI.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <comutil.h>
|
||||
|
||||
#define bool BOOL
|
||||
|
||||
#define COMSTR_T BSTR
|
||||
/* MinGW does not have comsuppw.lib, so no _com_util::ConvertBSTRToString */
|
||||
# ifdef __MINGW32__
|
||||
|
|
Loading…
Reference in a new issue