aboutsummaryrefslogtreecommitdiff
path: root/graphics/sjis.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/sjis.cpp')
-rw-r--r--graphics/sjis.cpp13
1 files changed, 4 insertions, 9 deletions
diff --git a/graphics/sjis.cpp b/graphics/sjis.cpp
index 95736cf401..5392a1c9a4 100644
--- a/graphics/sjis.cpp
+++ b/graphics/sjis.cpp
@@ -23,15 +23,10 @@
*/
#include "graphics/sjis.h"
-#include "common/debug.h"
-// 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)
+#ifdef GRAPHICS_SJIS_H
+
+#include "common/debug.h"
namespace Graphics {
@@ -198,5 +193,5 @@ uint FontTowns::sjisToChunk(uint8 f, uint8 s) {
} // end of namespace Graphics
-#endif // defined(ENABLE_KYRA) || defined(ENABLE_SCI)
+#endif // defined(GRAPHICS_SJIS_H)