mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-13 10:41:49 +08:00
16 lines
404 B
Diff
16 lines
404 B
Diff
|
--- a/modules/videoio/src/cap_dshow.cpp
|
||
|
+++ b/modules/videoio/src/cap_dshow.cpp
|
||
|
@@ -90,8 +90,11 @@ Thanks to:
|
||
|
|
||
|
#if defined(__clang__) // clang or MSVC clang
|
||
|
#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
|
||
|
-#elif defined(__GNUC__) // MinGW
|
||
|
+#elif defined(__GNUC__) // gcc
|
||
|
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
|
||
|
+#endif
|
||
|
+
|
||
|
+#ifdef __MINGW32__
|
||
|
#define STRSAFE_NO_DEPRECATE
|
||
|
#endif
|
||
|
|