aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2011-05-02 17:19:54 +0200
committerJohannes Schickel2011-05-02 17:19:54 +0200
commitb2693c81ecfce7c60c5fa3be228a057173efc609 (patch)
tree517c3e6fd2796f34cb340ac0364fa8c1650c14e4
parentc0bd496c909629067edb44893e4a819bd705aeed (diff)
downloadscummvm-rg350-b2693c81ecfce7c60c5fa3be228a057173efc609.tar.gz
scummvm-rg350-b2693c81ecfce7c60c5fa3be228a057173efc609.tar.bz2
scummvm-rg350-b2693c81ecfce7c60c5fa3be228a057173efc609.zip
SWORD25: Fix compilation, caused by zlib.h including unistd.h
-rw-r--r--engines/sword25/kernel/persistenceservice.cpp3
1 files changed, 3 insertions, 0 deletions
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"