diff options
author | Alex Marsev <alex.marsev@gmail.com> | 2014-10-31 23:34:58 +0300 |
---|---|---|
committer | Alex Marsev <alex.marsev@gmail.com> | 2014-10-31 23:34:58 +0300 |
commit | c40ed1622ad7a36eeefae07121e82a262222c449 (patch) | |
tree | c6c1128e5741f0d1962b3e08521d2f5cd0098a76 | |
parent | 1a071d3575a3a4a6d3693687194583e4fff0cef6 (diff) |
Guard uncompilable code with #ifdef
-rw-r--r-- | src/mpc-hc/QuicktimeGraph.cpp | 5 | ||||
-rw-r--r-- | src/mpc-hc/QuicktimeGraph.h | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/src/mpc-hc/QuicktimeGraph.cpp b/src/mpc-hc/QuicktimeGraph.cpp index 45435a976..b2e69bab2 100644 --- a/src/mpc-hc/QuicktimeGraph.cpp +++ b/src/mpc-hc/QuicktimeGraph.cpp @@ -20,6 +20,9 @@ */
#include "stdafx.h"
+
+#ifndef _WIN64
+
#include <math.h>
#include "QuicktimeGraph.h"
#include "IQTVideoSurface.h"
@@ -710,3 +713,5 @@ void CQuicktimeWindow::OnTimer(UINT_PTR nIDEvent) __super::OnTimer(nIDEvent);
}
+
+#endif
diff --git a/src/mpc-hc/QuicktimeGraph.h b/src/mpc-hc/QuicktimeGraph.h index 00e48aed8..7c9498127 100644 --- a/src/mpc-hc/QuicktimeGraph.h +++ b/src/mpc-hc/QuicktimeGraph.h @@ -21,14 +21,13 @@ #pragma once
+#ifndef _WIN64
+
#include "BaseGraph.h"
#include "AllocatorCommon7.h"
#include "AllocatorCommon.h"
-#ifndef _WIN64
#include "qt/qt.h"
-#endif
-
namespace DSObjects
{
@@ -129,3 +128,4 @@ namespace DSObjects };
}
+#endif
|