aboutsummaryrefslogtreecommitdiff
path: root/common/rdft.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/rdft.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/rdft.h')
-rw-r--r--common/rdft.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/common/rdft.h b/common/rdft.h
index 33fcdd2b3b..0316f4fb17 100644
--- a/common/rdft.h
+++ b/common/rdft.h
@@ -24,6 +24,14 @@
// Based upon the (I)RDFT code in FFmpeg
// Copyright (c) 2009 Alex Converse <alex dot converse at gmail dot com>
+#include "common/scummsys.h"
+
+#ifndef USE_BINK
+
+#error "RDFT support disabled because Bink support is disabled"
+
+#else
+
#ifndef COMMON_RDFT_H
#define COMMON_RDFT_H
@@ -62,3 +70,5 @@ private:
} // End of namespace Common
#endif // COMMON_RDFT_H
+
+#endif // USE_BINK