aboutsummaryrefslogtreecommitdiff
path: root/engines/engine.cpp
diff options
context:
space:
mode:
authorMax Horn2011-05-03 14:30:25 +0200
committerMax Horn2011-05-03 14:30:25 +0200
commit2fa63ca01586c4e5fda8eb12dca444d47a2375f1 (patch)
tree5edf495f2d7c5a7712c4a9a90c7e684d4837eec4 /engines/engine.cpp
parenta50c36d1381be2e7d0748a2c734e41357fd4920f (diff)
downloadscummvm-rg350-2fa63ca01586c4e5fda8eb12dca444d47a2375f1.tar.gz
scummvm-rg350-2fa63ca01586c4e5fda8eb12dca444d47a2375f1.tar.bz2
scummvm-rg350-2fa63ca01586c4e5fda8eb12dca444d47a2375f1.zip
COMMON: Forbid use of getcwd&getwd; add macro to enable unistd.h compatibility
Diffstat (limited to 'engines/engine.cpp')
-rw-r--r--engines/engine.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/engine.cpp b/engines/engine.cpp
index 217740d9d5..2c1d3a732c 100644
--- a/engines/engine.cpp
+++ b/engines/engine.cpp
@@ -22,6 +22,8 @@
* $Id$
*/
+#define FORBIDDEN_SYMBOL_EXCEPTION_getcwd
+
#if defined(WIN32) && !defined(_WIN32_WCE) && !defined(__SYMBIAN32__)
#define WIN32_LEAN_AND_MEAN
#include <windows.h>