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. * 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/stat.h>
#include <sys/types.h> #include <sys/types.h>
#include <errno.h> #include <errno.h>

View file

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

View file

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

View file

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

View file

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

View file

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