summaryrefslogtreecommitdiff
path: root/third_party/BaseClasses/combase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/BaseClasses/combase.cpp')
-rw-r--r--third_party/BaseClasses/combase.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/third_party/BaseClasses/combase.cpp b/third_party/BaseClasses/combase.cpp
index ec62a88c..bf7e3512 100644
--- a/third_party/BaseClasses/combase.cpp
+++ b/third_party/BaseClasses/combase.cpp
@@ -7,6 +7,9 @@
// Copyright (c) 1992-2001 Microsoft Corporation. All rights reserved.
//------------------------------------------------------------------------------
+#include <pjmedia-videodev/config.h>
+
+#if defined(PJMEDIA_VIDEO_DEV_HAS_DSHOW) && PJMEDIA_VIDEO_DEV_HAS_DSHOW != 0
#include <streams.h>
#pragma warning( disable : 4514 ) // Disable warnings re unused inline functions
@@ -263,3 +266,4 @@ BOOL WINAPI IsEqualObject(IUnknown *pFirst, IUnknown *pSecond)
return (pUnknown1 == pUnknown2);
}
+#endif /* PJMEDIA_VIDEO_DEV_HAS_DSHOW */