aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/kyra/text_lol.cpp5
-rw-r--r--engines/kyra/text_lol.h4
2 files changed, 9 insertions, 0 deletions
diff --git a/engines/kyra/text_lol.cpp b/engines/kyra/text_lol.cpp
index 7fd47d6bc2..99be70214a 100644
--- a/engines/kyra/text_lol.cpp
+++ b/engines/kyra/text_lol.cpp
@@ -23,6 +23,8 @@
*
*/
+#ifdef ENABLE_LOL
+
#include "kyra/lol.h"
#include "kyra/screen_lol.h"
#include "kyra/timer.h"
@@ -682,3 +684,6 @@ void TextDisplayer_LoL::clearCurDim() {
}
} // end of namespace Kyra
+
+#endif // ENABLE_LOL
+
diff --git a/engines/kyra/text_lol.h b/engines/kyra/text_lol.h
index b25a3c6a40..ee747c5f03 100644
--- a/engines/kyra/text_lol.h
+++ b/engines/kyra/text_lol.h
@@ -23,6 +23,8 @@
*
*/
+#ifdef ENABLE_LOL
+
#ifndef KYRA_TEXT_LOL_H
#define KYRA_TEXT_LOL_H
@@ -96,3 +98,5 @@ private:
#endif
+#endif // ENABLE_LOL
+