summaryrefslogtreecommitdiff
path: root/third_party/BaseClasses/wxdebug.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/BaseClasses/wxdebug.cpp')
-rw-r--r--third_party/BaseClasses/wxdebug.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/third_party/BaseClasses/wxdebug.cpp b/third_party/BaseClasses/wxdebug.cpp
index 3c433031..3a1dc38f 100644
--- a/third_party/BaseClasses/wxdebug.cpp
+++ b/third_party/BaseClasses/wxdebug.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
#define _WINDLL
@@ -1472,3 +1475,4 @@ void WINAPI DumpGraph(IFilterGraph *pGraph, DWORD dwLevel)
#endif
+#endif /* PJMEDIA_VIDEO_DEV_HAS_DSHOW */