WII: Fix various forbidden symbol clashes

This commit is contained in:
Max Horn 2011-05-03 12:52:28 +02:00
parent bf9b98f316
commit 81ff18b0b7
6 changed files with 12 additions and 1 deletions

View File

@ -19,6 +19,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#define FORBIDDEN_SYMBOL_EXCEPTION_chdir
#define FORBIDDEN_SYMBOL_EXCEPTION_printf
#include <sys/stat.h>
#include <sys/types.h>
#include <errno.h>

View File

@ -22,6 +22,9 @@
// Allow use of stuff in <time.h>
#define FORBIDDEN_SYMBOL_EXCEPTION_time_h
// Allow printf for debugging
#define FORBIDDEN_SYMBOL_EXCEPTION_printf
#include <unistd.h>
#include <ogc/conf.h>

View File

@ -24,7 +24,6 @@
#include <gctypes.h>
#include <gccore.h>
#include <ogcsys.h>
#include <gxflux/gfx.h>

View File

@ -19,6 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#define FORBIDDEN_SYMBOL_EXCEPTION_printf
#include <unistd.h>
#include <malloc.h>

View File

@ -19,6 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#define FORBIDDEN_SYMBOL_EXCEPTION_printf
#include <malloc.h>
#include <gxflux/gfx_con.h>

View File

@ -19,6 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#define FORBIDDEN_SYMBOL_EXCEPTION_printf
#include <malloc.h>
#include "osystem.h"