mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
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:
parent
2fac6fa6a6
commit
3fd4249a1d
1 changed files with 2 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue