DC: Fix various forbidden symbol clashes

This commit is contained in:
Max Horn 2011-05-03 11:56:10 +02:00
parent bdc7414f80
commit d67e450f7a
4 changed files with 10 additions and 0 deletions

View File

@ -22,6 +22,10 @@
* $Id$
*/
// Avoid clashes with unistd.h
#define FORBIDDEN_SYMBOL_EXCEPTION_chdir
#define FORBIDDEN_SYMBOL_EXCEPTION_unlink
#include "dc.h"
#include "backends/fs/abstract-fs.h"
#include "backends/fs/stdiostream.h"

View File

@ -26,6 +26,8 @@
// Allow use of stuff in <time.h>
#define FORBIDDEN_SYMBOL_EXCEPTION_time_h
#define FORBIDDEN_SYMBOL_EXCEPTION_printf
#include <common/scummsys.h>
#include <engines/engine.h>
#include <base/main.h>

View File

@ -23,6 +23,8 @@
*
*/
#define FORBIDDEN_SYMBOL_EXCEPTION_chdir
#include <common/scummsys.h>
#include <engines/engine.h>
#include <engines/metaengine.h>

View File

@ -26,6 +26,8 @@
// Allow use of stuff in <time.h>
#define FORBIDDEN_SYMBOL_EXCEPTION_time_h
#define FORBIDDEN_SYMBOL_EXCEPTION_fprintf
#include <common/scummsys.h>
#include "engines/engine.h"
#include "dc.h"