summaryrefslogtreecommitdiff
path: root/third_party/BaseClasses/arithutil.cpp
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2012-04-24 07:07:39 +0000
committerNanang Izzuddin <nanang@teluu.com>2012-04-24 07:07:39 +0000
commit3fe1744693a3462d00ce37aaa7b35030591109ce (patch)
tree6cb0ffd8ef68b82645b76177cc6c08b4715f38c8 /third_party/BaseClasses/arithutil.cpp
parent603594518c4cbe3c564df98e3cd86f34b89e5971 (diff)
Re #1276:
- Updated baseclasses VS2005 project setting (use VS property sheet, etc). - Added PJMEDIA_VIDEO_DEV_HAS_DSHOW filter. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4072 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'third_party/BaseClasses/arithutil.cpp')
-rw-r--r--third_party/BaseClasses/arithutil.cpp6
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 */