diff options
author | Johannes Schickel | 2011-05-02 17:19:54 +0200 |
---|---|---|
committer | Johannes Schickel | 2011-05-02 17:19:54 +0200 |
commit | b2693c81ecfce7c60c5fa3be228a057173efc609 (patch) | |
tree | 517c3e6fd2796f34cb340ac0364fa8c1650c14e4 | |
parent | c0bd496c909629067edb44893e4a819bd705aeed (diff) | |
download | scummvm-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.cpp | 3 |
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" |