Don't define GEKKO for the host build

This commit is contained in:
simon.kagstrom 2009-05-10 09:14:24 +00:00
parent 06325b4a43
commit f85e5f192f
3 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -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)
{

View File

@ -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;