From b2693c81ecfce7c60c5fa3be228a057173efc609 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Mon, 2 May 2011 17:19:54 +0200 Subject: SWORD25: Fix compilation, caused by zlib.h including unistd.h --- engines/sword25/kernel/persistenceservice.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/engines/sword25/kernel/persistenceservice.cpp b/engines/sword25/kernel/persistenceservice.cpp index be66b6abf0..506eef3c57 100644 --- a/engines/sword25/kernel/persistenceservice.cpp +++ b/engines/sword25/kernel/persistenceservice.cpp @@ -32,6 +32,9 @@ * */ +// Disable symbol overrides so that we can use zlib.h +#define FORBIDDEN_SYMBOL_ALLOW_ALL + #include "common/fs.h" #include "common/savefile.h" #include "sword25/kernel/kernel.h" -- cgit v1.2.3