From f85e5f192fae8ec24924a8340b808a401c890f7b Mon Sep 17 00:00:00 2001 From: "simon.kagstrom" Date: Sun, 10 May 2009 09:14:24 +0000 Subject: [PATCH] Don't define GEKKO for the host build --- Makefile.host | 2 +- src/filesys.c | 2 +- src/fsdb_unix.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.host b/Makefile.host index 60e149c..53c020c 100644 --- a/Makefile.host +++ b/Makefile.host @@ -74,7 +74,7 @@ $(BIN_DIR)/%.dol: %.elf # Compilation flags. COMMON_FLAGS := -g -Wall $(MACHDEP) INCLUDES := -Isrc/md-generic/ -Isrc/include -Isrc -I/usr/include/SDL -DEFINES := -DGEKKO -DFPUEMU -DCPUEMU_0 -DCPUEMU_5 -DCPUEMU_6 -DAGA \ +DEFINES := -DFPUEMU -DCPUEMU_0 -DCPUEMU_5 -DCPUEMU_6 -DAGA \ -DSUPPORT_THREADS -DUSE_SDL -DFDI2RAW -DDEBUGGER -DSAVESTATE \ -DENFORCER -DACTION_REPLAY CFLAGS := $(COMMON_FLAGS) $(INCLUDES) $(DEFINES) diff --git a/src/filesys.c b/src/filesys.c index 917d1f1..99c41cb 100644 --- a/src/filesys.c +++ b/src/filesys.c @@ -59,7 +59,7 @@ #define DUMPLOCK(u,x) #endif -#if defined(GEKKOb) +#if defined(GEKKO) #define R_OK 1 static int wii_access (const char *pathname, int mode) { diff --git a/src/fsdb_unix.c b/src/fsdb_unix.c index 48da1fd..0a61d4f 100644 --- a/src/fsdb_unix.c +++ b/src/fsdb_unix.c @@ -135,7 +135,7 @@ char *fsdb_create_unique_nname (a_inode *base, const char *suggestion) for (;;) { int i; char *p = build_nname (base->nname, tmp); -#if !defined(GEKKOb) +#if !defined(GEKKO) if (access (p, R_OK) < 0 && errno == ENOENT) { printf ("unique name: %s\n", p); return p;