diff options
Diffstat (limited to 'graphics/sjis.h')
| -rw-r--r-- | graphics/sjis.h | 8 | 
1 files changed, 8 insertions, 0 deletions
diff --git a/graphics/sjis.h b/graphics/sjis.h index c7eeeed9f6..ca5fc95004 100644 --- a/graphics/sjis.h +++ b/graphics/sjis.h @@ -22,6 +22,12 @@   * $Id$   */ +// The code in this files is currently only used in KYRA and SCI. +// So if no of those is enabled, we will not compile it. +// If you plan to use this code in another engine, you will have +// to add the proper defined check here and in sjis.cpp +#if defined(ENABLE_KYRA) || defined(ENABLE_SCI) +  #ifndef GRAPHICS_SJIS_H  #define GRAPHICS_SJIS_H @@ -123,3 +129,5 @@ private:  #endif +#endif // defined(ENABLE_KYRA) || defined(ENABLE_SCI) +  | 
