decklink: Fix CI failure due to missing WINAPI definition

WINAPI is for the windows calling convention to use, and should expand
to nothing on Linux.

https://build.gnome.org/continuous/buildmaster/builds/2017/07/18/76/build/log-gst-plugins-bad.txt
This commit is contained in:
Nirbheek Chauhan 2017-07-19 04:14:13 +05:30
parent 2fac6fa6a6
commit 3fd4249a1d

View file

@ -46,11 +46,12 @@
# else # else
# define CONVERT_COM_STRING(s) BSTR _s = (BSTR)s; s = _com_util::ConvertBSTRToString(_s); ::SysFreeString(_s); # define CONVERT_COM_STRING(s) BSTR _s = (BSTR)s; s = _com_util::ConvertBSTRToString(_s); ::SysFreeString(_s);
# define FREE_COM_STRING(s) delete[] s; # define FREE_COM_STRING(s) delete[] s;
# endif # endif /* __MINGW32__ */
#else #else
#define COMSTR_T const char* #define COMSTR_T const char*
#define CONVERT_COM_STRING(s) #define CONVERT_COM_STRING(s)
#define FREE_COM_STRING(s) #define FREE_COM_STRING(s)
#define WINAPI
#endif /* G_OS_WIN32 */ #endif /* G_OS_WIN32 */
typedef enum { typedef enum {