aboutsummaryrefslogtreecommitdiff
path: root/graphics/sjis.h
diff options
context:
space:
mode:
authorFilippos Karapetis2009-07-09 15:15:49 +0000
committerFilippos Karapetis2009-07-09 15:15:49 +0000
commita0a675e42d71df188da25fa3b8fab99249874ee9 (patch)
tree91b54e0cb7fcb7198921eed0251759237cf563c9 /graphics/sjis.h
parentaa66cf3fd8e8db52384653240276349fa39e2a15 (diff)
downloadscummvm-rg350-a0a675e42d71df188da25fa3b8fab99249874ee9.tar.gz
scummvm-rg350-a0a675e42d71df188da25fa3b8fab99249874ee9.tar.bz2
scummvm-rg350-a0a675e42d71df188da25fa3b8fab99249874ee9.zip
Reverted commit #42257, as the original issue was with the compilation process of MSVC and the ENABLE_* checks work correctly
svn-id: r42289
Diffstat (limited to 'graphics/sjis.h')
-rw-r--r--graphics/sjis.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/graphics/sjis.h b/graphics/sjis.h
index c7eeeed9f6..f7321742af 100644
--- a/graphics/sjis.h
+++ b/graphics/sjis.h
@@ -22,6 +22,14 @@
* $Id$
*/
+// The code in this file is currently only used in KYRA and SCI.
+// So if neither of those is enabled, we will skip compiling it.
+// If you plan to use this code in another engine, you will have
+// to add the proper define check here.
+// Also please add the define check at the comment after the
+// matching #endif further down this file.
+#if defined(ENABLE_KYRA) || defined(ENABLE_SCI)
+
#ifndef GRAPHICS_SJIS_H
#define GRAPHICS_SJIS_H
@@ -123,3 +131,5 @@ private:
#endif
+#endif // defined(ENABLE_KYRA) || defined(ENABLE_SCI)
+