aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLe Philousophe2019-07-08 08:55:45 +0200
committerFilippos Karapetis2019-07-08 10:15:09 +0300
commit96103179af909894d9ca71fb69b8f1121591f518 (patch)
tree53502c60b1098d73ab412e551bc447b065b88899
parent52e7ba5e54380868d2b8d9f97151cd0625ee869e (diff)
downloadscummvm-rg350-96103179af909894d9ca71fb69b8f1121591f518.tar.gz
scummvm-rg350-96103179af909894d9ca71fb69b8f1121591f518.tar.bz2
scummvm-rg350-96103179af909894d9ca71fb69b8f1121591f518.zip
SCI: Fix build when SCI32 isn't enabled
-rw-r--r--engines/sci/engine/kmisc.cpp2
-rw-r--r--engines/sci/module.mk2
2 files changed, 3 insertions, 1 deletions
diff --git a/engines/sci/engine/kmisc.cpp b/engines/sci/engine/kmisc.cpp
index 4259509b28..7c7e5ae7e6 100644
--- a/engines/sci/engine/kmisc.cpp
+++ b/engines/sci/engine/kmisc.cpp
@@ -36,7 +36,9 @@
#endif
#include "sci/graphics/maciconbar.h"
#include "sci/console.h"
+#ifdef ENABLE_SCI32
#include "sci/engine/hoyle5poker.h"
+#endif
namespace Sci {
diff --git a/engines/sci/module.mk b/engines/sci/module.mk
index e73d8c3391..6cf0cad7b5 100644
--- a/engines/sci/module.mk
+++ b/engines/sci/module.mk
@@ -13,7 +13,6 @@ MODULE_OBJS := \
engine/file.o \
engine/gc.o \
engine/guest_additions.o \
- engine/hoyle5poker.o \
engine/kernel.o \
engine/kevent.o \
engine/kfile.o \
@@ -84,6 +83,7 @@ MODULE_OBJS := \
ifdef ENABLE_SCI32
MODULE_OBJS += \
+ engine/hoyle5poker.o \
engine/kgraphics32.o \
graphics/celobj32.o \
graphics/controls32.o \