diff options
Diffstat (limited to 'third_party/BaseClasses/arithutil.cpp')
-rw-r--r-- | third_party/BaseClasses/arithutil.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/third_party/BaseClasses/arithutil.cpp b/third_party/BaseClasses/arithutil.cpp index cd0d1271..9600e5f3 100644 --- a/third_party/BaseClasses/arithutil.cpp +++ b/third_party/BaseClasses/arithutil.cpp @@ -7,6 +7,10 @@ // Copyright (c) 1992-2004 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>
//
@@ -358,3 +362,5 @@ LONGLONG WINAPI Int64x32Div32(LONGLONG a, LONG b, LONG c, LONG d) return bSign ? -(LONGLONG)uliResult.QuadPart :
(LONGLONG)uliResult.QuadPart;
}
+
+#endif /* PJMEDIA_VIDEO_DEV_HAS_DSHOW */
|