commit | a7228ed4863a6546b6b4a51883f093807888cc32 | [log] [tgz] |
---|---|---|
author | Nirbheek Chauhan <nirbheek@centricular.com> | Sat Mar 31 10:41:32 2018 +0530 |
committer | Nirbheek Chauhan <nirbheek@centricular.com> | Sat Mar 31 11:15:31 2018 +0530 |
tree | ea53c5e205d1a077f0aebfad434e2a8747c2a3af | |
parent | ee88f699c4a0a8d075b802f110308206ce8f0f82 [diff] |
decklink: Fix MinGW warnings due to MSVC-specific pragmas https://bugzilla.gnome.org/show_bug.cgi?id=794652#c7
diff --git a/sys/decklink/win/DeckLinkAPI.h b/sys/decklink/win/DeckLinkAPI.h index 18a0c52..279946f 100644 --- a/sys/decklink/win/DeckLinkAPI.h +++ b/sys/decklink/win/DeckLinkAPI.h
@@ -16,7 +16,9 @@ */ /* @@MIDL_FILE_HEADING( ) */ +#ifdef _MSC_VER #pragma warning( disable: 4049 ) /* more than 64k source lines */ +#endif /* verify that the <rpcndr.h> version is high enough to compile this file*/
diff --git a/sys/decklink/win/DeckLinkAPI_i.c b/sys/decklink/win/DeckLinkAPI_i.c index cd1e987..e69d976 100644 --- a/sys/decklink/win/DeckLinkAPI_i.c +++ b/sys/decklink/win/DeckLinkAPI_i.c
@@ -18,7 +18,9 @@ */ /* @@MIDL_FILE_HEADING( ) */ +#ifdef _MSC_VER #pragma warning( disable: 4049 ) /* more than 64k source lines */ +#endif #ifdef __cplusplus