From a50abde1b1228aa8364349728ad7f4f328d4a2f4 Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Wed, 13 Jul 2011 12:08:26 -0400 Subject: BUILD: Allow for disabling Bink support --- common/huffman.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'common/huffman.h') diff --git a/common/huffman.h b/common/huffman.h index 9c88a37541..5e4ad69325 100644 --- a/common/huffman.h +++ b/common/huffman.h @@ -22,6 +22,14 @@ // Based on eos' Huffman code +#include "common/scummsys.h" + +#ifndef USE_BINK + +#error "Huffman support disabled because Bink support is disabled" + +#else + #ifndef COMMON_HUFFMAN_H #define COMMON_HUFFMAN_H @@ -75,3 +83,5 @@ private: } // End of namespace Common #endif // COMMON_HUFFMAN_H + +#endif // USE_BINK -- cgit v1.2.3