From 96103179af909894d9ca71fb69b8f1121591f518 Mon Sep 17 00:00:00 2001 From: Le Philousophe Date: Mon, 8 Jul 2019 08:55:45 +0200 Subject: SCI: Fix build when SCI32 isn't enabled --- engines/sci/engine/kmisc.cpp | 2 ++ engines/sci/module.mk | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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 \ -- cgit v1.2.3