DS: Only disable forbidden symbols when necessary
This commit is contained in:
parent
fc00f80e7d
commit
925025ec54
4 changed files with 12 additions and 5 deletions
|
@ -68,8 +68,9 @@
|
|||
// - Try discworld?
|
||||
|
||||
|
||||
#define FORBIDDEN_SYMBOL_ALLOW_ALL
|
||||
|
||||
// Allow use of stuff in <nds.h>
|
||||
#define FORBIDDEN_SYMBOL_EXCEPTION_printf
|
||||
#define FORBIDDEN_SYMBOL_EXCEPTION_unistd_h
|
||||
|
||||
|
||||
#include <nds.h>
|
||||
|
|
|
@ -23,7 +23,9 @@
|
|||
|
||||
// Allow use of stuff in <time.h>
|
||||
#define FORBIDDEN_SYMBOL_EXCEPTION_time_h
|
||||
#define FORBIDDEN_SYMBOL_ALLOW_ALL
|
||||
// Allow use of stuff in <nds.h>
|
||||
#define FORBIDDEN_SYMBOL_EXCEPTION_printf
|
||||
#define FORBIDDEN_SYMBOL_EXCEPTION_unistd_h
|
||||
|
||||
#include "common/scummsys.h"
|
||||
#include "common/system.h"
|
||||
|
|
|
@ -24,7 +24,9 @@
|
|||
#ifndef _OSYSTEM_DS_H_
|
||||
#define _OSYSTEM_DS_H_
|
||||
|
||||
#define FORBIDDEN_SYMBOL_ALLOW_ALL
|
||||
// Allow use of stuff in <nds.h>
|
||||
#define FORBIDDEN_SYMBOL_EXCEPTION_printf
|
||||
#define FORBIDDEN_SYMBOL_EXCEPTION_unistd_h
|
||||
|
||||
#include "backends/base-backend.h"
|
||||
#include "common/events.h"
|
||||
|
|
|
@ -20,7 +20,9 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#define FORBIDDEN_SYMBOL_ALLOW_ALL
|
||||
// Allow use of stuff in <nds.h>
|
||||
#define FORBIDDEN_SYMBOL_EXCEPTION_printf
|
||||
#define FORBIDDEN_SYMBOL_EXCEPTION_unistd_h
|
||||
|
||||
#include "common/scummsys.h"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue