diff --git a/sys/decklink/win/DeckLinkAPI.h b/sys/decklink/win/DeckLinkAPI.h index 18a0c52082..279946f2a5 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 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 cd1e98740a..e69d9766a4 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