Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Marsev <alex.marsev@gmail.com>2014-10-31 23:34:58 +0300
committerAlex Marsev <alex.marsev@gmail.com>2014-10-31 23:34:58 +0300
commitc40ed1622ad7a36eeefae07121e82a262222c449 (patch)
treec6c1128e5741f0d1962b3e08521d2f5cd0098a76
parent1a071d3575a3a4a6d3693687194583e4fff0cef6 (diff)
Guard uncompilable code with #ifdef
-rw-r--r--src/mpc-hc/QuicktimeGraph.cpp5
-rw-r--r--src/mpc-hc/QuicktimeGraph.h6
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