summaryrefslogtreecommitdiff
path: root/third_party/BaseClasses/wxlist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/BaseClasses/wxlist.cpp')
-rw-r--r--third_party/BaseClasses/wxlist.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/third_party/BaseClasses/wxlist.cpp b/third_party/BaseClasses/wxlist.cpp
index 2ec67a45..df22839d 100644
--- a/third_party/BaseClasses/wxlist.cpp
+++ b/third_party/BaseClasses/wxlist.cpp
@@ -6,6 +6,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
/* A generic list of pointers to objects.
Objectives: avoid using MFC libraries in ndm kernel mode and
@@ -889,3 +892,5 @@ void CBaseList::Reverse()
#endif
} // Reverse
+
+#endif /* PJMEDIA_VIDEO_DEV_HAS_DSHOW */