aboutsummaryrefslogtreecommitdiff
path: root/common/dct.h
diff options
context:
space:
mode:
authorMatthew Hoops2011-07-13 12:08:26 -0400
committerMatthew Hoops2011-07-13 12:08:26 -0400
commita50abde1b1228aa8364349728ad7f4f328d4a2f4 (patch)
tree497d8f5037e80959a07da83dd3aa5f0f36194571 /common/dct.h
parent7dc727131682806c9bd97ba1099ee2291c21a7a6 (diff)
downloadscummvm-rg350-a50abde1b1228aa8364349728ad7f4f328d4a2f4.tar.gz
scummvm-rg350-a50abde1b1228aa8364349728ad7f4f328d4a2f4.tar.bz2
scummvm-rg350-a50abde1b1228aa8364349728ad7f4f328d4a2f4.zip
BUILD: Allow for disabling Bink support
Diffstat (limited to 'common/dct.h')
-rw-r--r--common/dct.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/common/dct.h b/common/dct.h
index a0d625d55d..30eae8ca52 100644
--- a/common/dct.h
+++ b/common/dct.h
@@ -26,6 +26,14 @@
// Copyright (c) 2010 Alex Converse <alex.converse@gmail.com>
// Copyright (c) 2010 Vitor Sessak
+#include "common/scummsys.h"
+
+#ifndef USE_BINK
+
+#error "DCT support disabled because Bink support is disabled"
+
+#else
+
#ifndef COMMON_DCT_H
#define COMMON_DCT_H
@@ -69,3 +77,5 @@ private:
} // End of namespace Common
#endif // COMMON_DCT_H
+
+#endif // USE_BINK